We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac6a8a6 + 5fba921 commit 288f187Copy full SHA for 288f187
src/app.ts
@@ -24,7 +24,10 @@ import { imageCleanup } from "./schedules/images";
24
const app = express();
25
26
//CORS 설정
27
-const allowedOrigins: string[] = ["http://localhost:3001"];
+const allowedOrigins: string[] = [
28
+ "http://localhost:3001",
29
+ "https://52.78.245.231.nip.io", // 백엔드 도메인도 허용
30
+];
31
// CORS 설정
32
const corsOptions: CorsOptions = {
33
credentials: true,
0 commit comments