ip adress 추가
This commit is contained in:
@@ -29,7 +29,7 @@ app.use(express.urlencoded({ extended: true, limit: "10mb" }));
|
||||
// CORS 설정
|
||||
app.use(
|
||||
cors({
|
||||
origin: config.cors.origin,
|
||||
origin: config.cors.origin.split(',').map(url => url.trim()),
|
||||
credentials: true,
|
||||
methods: ["GET", "POST", "PUT", "DELETE", "PATCH", "OPTIONS"],
|
||||
allowedHeaders: ["Content-Type", "Authorization", "X-Requested-With"],
|
||||
|
||||
Reference in New Issue
Block a user