disable helmet
parent
5a88dfc435
commit
eeae29da16
|
@ -50,8 +50,8 @@ export default class ChatServer {
|
|||
}
|
||||
|
||||
async initialize() {
|
||||
const { default: helmet } = await import('helmet');
|
||||
this.app.use(helmet());
|
||||
//const { default: helmet } = await import('helmet');
|
||||
//this.app.use(helmet());
|
||||
|
||||
this.app.use(express.urlencoded({ extended: false }));
|
||||
|
||||
|
@ -110,4 +110,4 @@ export default class ChatServer {
|
|||
}
|
||||
}
|
||||
|
||||
new ChatServer().initialize();
|
||||
new ChatServer().initialize();
|
||||
|
|
Loading…
Reference in New Issue