Commit ddf2cbb3 authored by Juha's avatar Juha

Merge branch 'cors-allow-credentials' into 'master'

Missing CORS credentials enabled

See merge request !12
parents 05eed06a 79a129a1
Pipeline #24880064 passed with stage
......@@ -7,6 +7,7 @@ require('./lib/config')();
const cors = corsMiddleware({
preflightMaxAge: 5,
origins: nconf.get('http:allowedOrigins').split(','),
credentials: true,
});
const app = restify.createServer({ name: 'Auth Service' });
app.use(helmet({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment