fix: typo boolean flip

This commit is contained in:
Alexis Tyler
2021-06-29 06:15:08 +09:30
parent 1bdce528cf
commit 4a7a5faac8
+2 -1
View File
@@ -93,7 +93,8 @@ app.use(cors({
// (like mobile apps, curl requests or viewing /graphql directly)
if (!origin) {
// If in debug mode allow this
if (!config.get('debug')) {
if (config.get('debug')) {
callback(null, true);
return;
}