commit bd611f3ec39fa3a9308f29c95c52ee0bbbc5a009
parent cb54455292c933e82340f990c08898e3c85a16c2
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Tue, 26 May 2026 18:13:12 +0530
Add CORS and path modules to server.js
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/server.js b/server.js
@@ -1,8 +1,8 @@
const express = require('express');
const { Resend } = require('resend');
const { Webhook } = require('svix');
-const cors = require('cors'); // <-- ADDED CORS
-const path = require('path'); // <-- ADDED PATH
+const cors = require('cors');
+const path = require('path');
const app = express();
const port = process.env.PORT || 3000;