mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
M #~: Xss filter nodejs (#1561)
This commit is contained in:
parent
c9cc9a29a8
commit
4eac36037b
@ -96,6 +96,7 @@ if (env && env.NODE_ENV && env.NODE_ENV === defaultWebpackMode) {
|
||||
}
|
||||
frontPath = '../client'
|
||||
}
|
||||
app.use(helmet.xssFilter())
|
||||
app.use(helmet.hidePoweredBy())
|
||||
app.use(compression())
|
||||
app.use(`${basename}/client`, express.static(resolve(__dirname, frontPath)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user