ADD: Cors

This commit is contained in:
2025-06-04 14:37:56 +03:30
parent a2f157611d
commit 98044a18f2
+1 -1
View File
@@ -11,7 +11,7 @@ const cors = require('cors')
const app = express()
const allowedOrigins = ['http://localhost:3000', 'http://localhost:5173', 'https://bm-vue.chbk.app']
const allowedOrigins = ['http://localhost:3000', 'http://localhost:5173', 'https://bm-vue.chbk.app', 'https://mbmanager.ir']
app.use(
cors({