mirror of
https://github.com/ragestudio/comty.git
synced 2025-07-08 00:34:16 +00:00
allow all cors
This commit is contained in:
parent
392e356ba5
commit
2a22b83838
@ -11,6 +11,7 @@ export default class API extends Server {
|
||||
static routesPath = `${__dirname}/routes`
|
||||
static listenPort = process.env.HTTP_LISTEN_PORT ?? 3008
|
||||
|
||||
static bypassCors = true
|
||||
static useMiddlewares = ["logs"]
|
||||
|
||||
static websockets = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user