From ed3758645c3ed1daae6913e087ffa2a425c23485 Mon Sep 17 00:00:00 2001 From: Nan Kyung Lee Date: Tue, 10 Mar 2026 14:40:12 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20=ED=94=84=EB=A1=A0=ED=8A=B8=EC=97=94?= =?UTF-8?q?=EB=93=9C=20=ED=8F=AC=ED=8A=B8=20=EB=B3=80=EA=B2=BD(5174)=20+?= =?UTF-8?q?=20CORS=20=ED=97=88=EC=9A=A9=20+=20=EB=93=9C=EB=A1=A0=20?= =?UTF-8?q?=EB=AA=A8=EB=8D=B8=EB=AA=85=20=EC=8A=A4=ED=83=80=EC=9D=BC=20?= =?UTF-8?q?=EA=B0=9C=EC=84=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/src/server.ts | 1 + frontend/src/tabs/aerial/components/RealtimeDrone.tsx | 2 +- frontend/vite.config.ts | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/src/server.ts b/backend/src/server.ts index 8a7c819..72bcc1b 100755 --- a/backend/src/server.ts +++ b/backend/src/server.ts @@ -75,6 +75,7 @@ const allowedOrigins = [ ...(process.env.NODE_ENV !== 'production' ? [ 'http://localhost:5173', 'http://localhost:5174', + 'http://localhost:5175', 'http://localhost:3000', ] : []), ].filter(Boolean) as string[] diff --git a/frontend/src/tabs/aerial/components/RealtimeDrone.tsx b/frontend/src/tabs/aerial/components/RealtimeDrone.tsx index c161958..f2aeca1 100644 --- a/frontend/src/tabs/aerial/components/RealtimeDrone.tsx +++ b/frontend/src/tabs/aerial/components/RealtimeDrone.tsx @@ -131,7 +131,7 @@ export function RealtimeDrone() {
🚁
-
{stream.shipName} ({stream.droneModel})
+
{stream.shipName} ({stream.droneModel})
{stream.ip}
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index f4d5bd1..376ebfb 100755 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -6,6 +6,7 @@ import path from 'path' export default defineConfig({ plugins: [react()], server: { + port: 5174, proxy: { // HLS 슀트림 ν”„λ‘μ‹œ λ“± μƒλŒ€ 경둜 API μš”μ²­μ„ λ°±μ—”λ“œλ‘œ 전달 '/api': {