-
I have a very basic implementation of this const proxy = (target) => {
return createProxyMiddleware({
target,
changeOrigin: true,
logLevel: 'debug',
});
};
app.use('/compliance', proxy(process.env.COMPLIANCE_SERVICE)); This works fine with a GET endpoint Is there something else that's needed for a |
Beta Was this translation helpful? Give feedback.
Answered by
talyh
Jun 28, 2023
Replies: 1 comment
-
I believe this was impacted by another middleware. It was solved when I moved the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
talyh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I believe this was impacted by another middleware. It was solved when I moved the
app.use
up