Initial Project Commit

This commit is contained in:
Orlando M Guerreiro 2025-05-22 19:23:40 +01:00
commit a6dea9c888
2148 changed files with 173870 additions and 0 deletions

14
webpack/proxy.conf.js Normal file
View file

@ -0,0 +1,14 @@
function setupProxy({ tls }) {
const serverResources = ['/login/saml2/sso', '/saml2', '/api', '/services', '/management', '/v3/api-docs', '/h2-console', '/health'];
const conf = [
{
context: serverResources,
target: `http${tls ? 's' : ''}://localhost:8081`,
secure: false,
changeOrigin: tls,
},
];
return conf;
}
module.exports = setupProxy;