allow all cors

This commit is contained in:
srgooglo 2025-07-04 16:45:57 +02:00
parent 392e356ba5
commit 2a22b83838

View File

@ -11,6 +11,7 @@ export default class API extends Server {
static routesPath = `${__dirname}/routes` static routesPath = `${__dirname}/routes`
static listenPort = process.env.HTTP_LISTEN_PORT ?? 3008 static listenPort = process.env.HTTP_LISTEN_PORT ?? 3008
static bypassCors = true
static useMiddlewares = ["logs"] static useMiddlewares = ["logs"]
static websockets = { static websockets = {