Skip to content

Adding proxy - #4

Open
DmitryMK wants to merge 1 commit into
mainfrom
feature/proxy
Open

Adding proxy#4
DmitryMK wants to merge 1 commit into
mainfrom
feature/proxy

Conversation

@DmitryMK

Copy link
Copy Markdown
Collaborator

No description provided.

Comment on lines +491 to +492
const fileName = `${endpoint
.replace(/.*\/(.+\/.+)/, '$1')
req.url.replace(/^\//, ''),
cl
);
res.send(response && response.body ? response.body : response);
res.status(404).send('Not found');
} catch (error: any) {
console.log(
`Error when running a request for ${req.url}: ${error.message}`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants