push auths
parent
5104bff4fe
commit
298ece06d8
|
@ -58,11 +58,7 @@ export default class Server {
|
||||||
this.app.use(helmet({
|
this.app.use(helmet({
|
||||||
hsts: false,
|
hsts: false,
|
||||||
hidePoweredBy: false,
|
hidePoweredBy: false,
|
||||||
contentSecurityPolicy: {
|
contentSecurityPolicy: false,
|
||||||
directives: {
|
|
||||||
defaultSrc: ["'*'"],
|
|
||||||
},
|
|
||||||
},
|
|
||||||
}));
|
}));
|
||||||
this.app.use(bodyParser.json());
|
this.app.use(bodyParser.json());
|
||||||
this.app.use(bodyParser.urlencoded({ extended: true }));
|
this.app.use(bodyParser.urlencoded({ extended: true }));
|
||||||
|
|
Loading…
Reference in New Issue