mirror of
https://github.com/BobbyWibowo/lolisafe.git
synced 2025-01-18 17:21:33 +00:00
chore: lolisafe.js
This commit is contained in:
parent
fa9ca96d66
commit
5fd6685e44
@ -272,8 +272,12 @@ safe.use('/api', api)
|
||||
overrideContentTypes: config.overrideContentTypes,
|
||||
setContentDisposition: config.setContentDisposition
|
||||
})
|
||||
|
||||
safe.get('/*', serveStaticInstance.handler)
|
||||
safe.head('/*', serveStaticInstance.handler)
|
||||
|
||||
// Keep reference to internal SimpleDataStore in utils,
|
||||
// allowing the rest of lolisafe to directly interface with it
|
||||
utils.contentDispositionStore = serveStaticInstance.contentDispositionStore
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user