mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 18:44:16 +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({
|
||||
origin: "*",
|
||||
credentials: true,
|
||||
preflightContinue: false,
|
||||
optionsSuccessStatus: 204,
|
||||
preflightContinue: true,
|
||||
}))
|
||||
this.server.use(express.json({ extended: false }))
|
||||
this.server.use(express.urlencoded({ extended: true }))
|
||||
|
Loading…
x
Reference in New Issue
Block a user