新增用户管理页面
This commit is contained in:
@@ -11,7 +11,7 @@ const app: Express = express();
|
||||
const PORT = process.env.PORT || 3000;
|
||||
|
||||
app.use(cors({
|
||||
origin: process.env.CORS_ORIGIN || 'http://localhost:5173',
|
||||
origin: ['http://localhost:5173', 'http://localhost:5174'],
|
||||
credentials: true
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user