We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d4aac19 + fbe2029 commit e53568aCopy full SHA for e53568a
index.js
@@ -82,7 +82,7 @@ async function build() {
82
})
83
84
// CORS
85
- fastify.register(require('@fastify/cors'), { origin: typeof process.env.CORS_ORIGIN === 'string' ? process.env.CORS_ORIGINS.split(",") : process.env.CORS_ORIGINS })
+ fastify.register(require('@fastify/cors'), { origin: typeof process.env.CORS_ORIGINS === 'string' ? process.env.CORS_ORIGINS.split(",") : process.env.CORS_ORIGINS })
86
87
// OPTIONAL RATE LIMITER
88
if ("RATE_MAX" in process.env) {
0 commit comments