actually do something else

This commit is contained in:
hippoz 2021-01-20 03:03:23 +02:00
parent 74091d2a49
commit 1f3d4adba1
Signed by: hippoz
GPG key ID: 7C52899193467641

View file

@ -18,7 +18,7 @@ app.use(express.urlencoded({ extended: false }));
app.use(express.json());
app.use(cookieParser());
app.use(cors({
origin: config.address,
origin: config.isHttps ? `https://${confg.address}` : `http://${config.address}`,
credentials: true,
optionsSuccessStatus: 200
}));