Update absolute url config variables.

This commit is contained in:
softsimon
2020-11-23 14:50:28 +07:00
parent aaf9d9be9f
commit e5959f14bc
2 changed files with 3 additions and 2 deletions

View File

@@ -67,7 +67,8 @@ export function app(): express.Express {
}));
server.get('/api/v1/**', createProxyMiddleware({
target: 'http://localhost:8999',
// @ts-ignore
target: win.__env.BACKEND_ABSOLUTE_URL,
changeOrigin: true,
},
));