1
0

Work for signposting

This commit is contained in:
Alban Imami
2023-04-27 16:51:41 +02:00
parent 4847fc6f7a
commit 90a1f25ba9
7 changed files with 115 additions and 2 deletions

View File

@@ -180,6 +180,15 @@ export function app() {
changeOrigin: true
}));
/**
* Proxy the linksets
*/
router.use('/linksets**', createProxyMiddleware({
target: `${environment.rest.baseUrl}/linksets`,
pathRewrite: path => path.replace(environment.ui.nameSpace, '/'),
changeOrigin: true
}));
/**
* Checks if the rateLimiter property is present
* When it is present, the rateLimiter will be enabled. When it is undefined, the rateLimiter will be disabled.