2 parents d8db211 + 5e3793d commit 2548b0eCopy full SHA for 2548b0e
1 file changed
server/app.js
@@ -24,7 +24,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
24
export function buildApp() {
25
const app = express();
26
const httpServer = createServer(app);
27
- const CORS_ORIGIN = process.env.CORS_ORIGIN || "http://localhost:5173";
+ const CORS_ORIGIN = process.env.CORS_ORIGIN || "https://smart-class-ivory.vercel.app";
28
29
// ─── Socket.IO ─────────────────────────────────────────────────────────────
30
const io = new Server(httpServer, {
0 commit comments