ADD: Cors
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user