mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
allow preflightContinue
This commit is contained in:
parent
2a7fd8de3d
commit
041c64ad64
@ -136,8 +136,7 @@ export default class FileServerAPI {
|
|||||||
this.server.use(cors({
|
this.server.use(cors({
|
||||||
origin: "*",
|
origin: "*",
|
||||||
credentials: true,
|
credentials: true,
|
||||||
preflightContinue: false,
|
preflightContinue: true,
|
||||||
optionsSuccessStatus: 204,
|
|
||||||
}))
|
}))
|
||||||
this.server.use(express.json({ extended: false }))
|
this.server.use(express.json({ extended: false }))
|
||||||
this.server.use(express.urlencoded({ extended: true }))
|
this.server.use(express.urlencoded({ extended: true }))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user