diff --git a/webpack.config.js b/webpack.config.js index 350a0ce06..9f459b1f7 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -44,7 +44,10 @@ module.exports = require("./MapStore2/build/buildConfig")({ target: `${DEV_PROTOCOL}://${DEV_HOST}/mapstore`, secure: false, headers: { - host: `${DEV_HOST}` + host: `${DEV_HOST}`, + // change those for your local instance + "sec-username": 'testadmin', + "sec-roles": 'ROLE_MAPSTORE_ADMIN' } }, "/pdf": { @@ -82,6 +85,23 @@ module.exports = require("./MapStore2/build/buildConfig")({ headers: { host: `${DEV_HOST}` } + }, + "/cas": { + target: `${DEV_PROTOCOL}://${DEV_HOST}`, + secure: false, + headers: { + host: `${DEV_HOST}` + } + }, + "/whoami": { + target: `${DEV_PROTOCOL}://${DEV_HOST}`, + secure: false, + headers: { + host: `${DEV_HOST}`, + // change those for your local instance + "sec-username": 'testadmin', + "sec-roles": 'ROLE_MAPSTORE_ADMIN' + } } }} );