We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87c7cf6 commit 765ca60Copy full SHA for 765ca60
src/app.ts
@@ -25,7 +25,7 @@ dotenv.config({ path: __dirname+'/../.env' });
25
26
app.use('/:prefix/api',
27
createProxyMiddleware({
28
- target: process.env.SERVER_ENDPOINT,
+ target: process.env.SERVER_ENDPOINT || "http://localhost:6363",
29
changeOrigin: false,
30
// onProxyRes: onProxyRes,
31
pathRewrite: {
@@ -73,4 +73,4 @@ console.log(
73
"OpenAPI documentation available in http://localhost:3035/api-documentation"
74
);
75
76
-//module.exports = app;
+//module.exports = app;
0 commit comments