mirror of
https://github.com/pockethost/pockethost.git
synced 2025-03-30 15:08:30 +00:00
Merge branch 'master' of github.com:pockethost/pockethost
This commit is contained in:
commit
d2a404e0e0
@ -41,6 +41,7 @@ export const firewall = async () => {
|
|||||||
// Create Express app
|
// Create Express app
|
||||||
const app = express()
|
const app = express()
|
||||||
|
|
||||||
|
app.options('*', cors()) // include before other routes
|
||||||
app.use(cors())
|
app.use(cors())
|
||||||
app.use(enforce.HTTPS())
|
app.use(enforce.HTTPS())
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user