Skip to content

Commit 2548b0e

Browse files
authored
Merge pull request #26 from adity1raut/aditya-side
Refactor API calls to use apiFetch utility; update environment variab…
2 parents d8db211 + 5e3793d commit 2548b0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

server/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const __dirname = path.dirname(fileURLToPath(import.meta.url));
2424
export function buildApp() {
2525
const app = express();
2626
const httpServer = createServer(app);
27-
const CORS_ORIGIN = process.env.CORS_ORIGIN || "http://localhost:5173";
27+
const CORS_ORIGIN = process.env.CORS_ORIGIN || "https://smart-class-ivory.vercel.app";
2828

2929
// ─── Socket.IO ─────────────────────────────────────────────────────────────
3030
const io = new Server(httpServer, {

0 commit comments

Comments
 (0)