v1.6.2/api fix, admin dashboard deploy, scroller

This commit is contained in:
2020-08-17 20:23:06 -04:00
parent 917d30ce05
commit 8826ca7735
10 changed files with 169 additions and 27 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ app.put("/updateAdminOnly/:rid/:adminOnly", FunctionModules.updateAdminOnly);
const admin = express();
admin.use(
cors({
origin: ["http://localhost:3000", "https://admin.chromewatchparty.com/*"],
origin: true,
})
);
admin.use(AdminModules.superAuth);