feat: QR 자산 스캔 점검, 모바일 웹뷰 및 관리자 승인 시스템 구현 (DB 기반 맵 좌표 저장 단일화 포함)

This commit is contained in:
이태훈
2026-06-23 16:39:14 +09:00
parent 9f165faf13
commit f36e8e93e2
21 changed files with 2357 additions and 46 deletions

View File

@@ -1,7 +1,9 @@
import { defineConfig } from 'vite';
import { defineConfig, loadEnv } from 'vite';
import { resolve } from 'path';
const proxyTarget = process.env.VITE_DEV_PROXY_TARGET || 'http://localhost:3000';
const env = loadEnv('', process.cwd(), '');
const backendPort = env.PORT || '3001';
const proxyTarget = process.env.VITE_DEV_PROXY_TARGET || `http://localhost:${backendPort}`;
export default defineConfig({
server: {
@@ -23,6 +25,7 @@ export default defineConfig({
input: {
main: resolve(__dirname, 'index.html'),
map_editor: resolve(__dirname, 'map_editor.html'),
mobile: resolve(__dirname, 'mobile.html'),
}
}
}