Initial commit for resilient-core

This commit is contained in:
Orlando M Guerreiro 2025-06-17 10:37:54 +01:00
commit 49fc4b2983
2169 changed files with 175785 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;