Update server.js

This commit is contained in:
RochesterX
2025-11-12 10:15:10 -05:00
parent 6e820464d5
commit 9fd3a76546

View File

@@ -5,7 +5,7 @@ const cors = require("cors");
const jwt = require("jsonwebtoken") const jwt = require("jsonwebtoken")
const dotenv = require("dotenv") const dotenv = require("dotenv")
const serverPort = 3000; const serverPort = 3001;
const dev = process.argv.length > 2 && process.argv[2] == "-dev"; const dev = process.argv.length > 2 && process.argv[2] == "-dev";
@@ -15,7 +15,7 @@ app.use(express.static("public"))
app.use(cors({ app.use(cors({
origin: [ origin: [
"https://project.rochesterx.dev", "https://project.rochesterx.dev",
"https://localhost:3000" "https://localhost:3001"
] ]
})); }));