mirror of
https://github.com/whyour/qinglong.git
synced 2026-05-13 23:55:22 +08:00
Merge d25340a857 into 3464c4da61
This commit is contained in:
commit
2f65b54f5e
|
|
@ -151,6 +151,8 @@ class Application {
|
|||
private setupMiddlewares() {
|
||||
this.app.use(helmet({
|
||||
contentSecurityPolicy: false,
|
||||
crossOriginOpenerPolicy: false,
|
||||
originAgentCluster: false,
|
||||
}));
|
||||
this.app.use(cors(config.cors));
|
||||
this.app.use(compression());
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user