mirror of
https://github.com/ssyyhhrr/stewardle.git
synced 2025-11-08 10:33:46 -05:00
Disable drivers.json Cache
This commit is contained in:
4
app.js
4
app.js
@@ -227,7 +227,9 @@ function server() {
|
|||||||
app.enable("trust proxy")
|
app.enable("trust proxy")
|
||||||
|
|
||||||
app.use(express.urlencoded({ extended: true }))
|
app.use(express.urlencoded({ extended: true }))
|
||||||
app.use(express.static("assets"))
|
app.use(express.static("assets"), {
|
||||||
|
maxAge: 3600000 // uses milliseconds per docs
|
||||||
|
})
|
||||||
app.use(favicon('assets/favicon.ico'))
|
app.use(favicon('assets/favicon.ico'))
|
||||||
app.use(morgan("combined"))
|
app.use(morgan("combined"))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user