[CST-5729] fix signposting proxy url

This commit is contained in:
Giuseppe Digilio
2023-06-09 19:24:16 +02:00
parent b3b5b761db
commit 96903d89de

View File

@@ -182,8 +182,8 @@ export function app() {
/**
* Proxy the linksets
*/
router.use('/links**', createProxyMiddleware({
target: `${environment.rest.baseUrl}/signposting`,
router.use('/signposting**', createProxyMiddleware({
target: `${environment.rest.baseUrl}`,
pathRewrite: path => path.replace(environment.ui.nameSpace, '/'),
changeOrigin: true
}));