Initial Project Commit
This commit is contained in:
commit
a6dea9c888
2148 changed files with 173870 additions and 0 deletions
14
webpack/proxy.conf.js
Normal file
14
webpack/proxy.conf.js
Normal 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;
|
Loading…
Add table
Add a link
Reference in a new issue