mirror of
https://github.com/unraid/api.git
synced 2026-05-01 04:31:31 -05:00
fix: typo boolean flip
This commit is contained in:
+2
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user