WING-GIS 해양경찰 통합 GIS 위치정보시스템. 모노레포: frontend(React 19 + MapLibre + deck.gl) + services(Spring Boot + Gradle). - npm + Nexus 프록시 레지스트리 설정 - 팀 워크플로우 v1.6.1 부트스트랩 파일 배치 - .githooks (commit-msg, post-checkout) - custom_pre_commit: true (모노레포 pre-commit 별도 관리) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
32 lines
715 B
TypeScript
32 lines
715 B
TypeScript
import { defineConfig } from 'vite'
|
|
import react from '@vitejs/plugin-react'
|
|
|
|
// https://vite.dev/config/
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
port: 5174,
|
|
proxy: {
|
|
'/api': {
|
|
target: 'http://localhost:8080',
|
|
changeOrigin: true,
|
|
},
|
|
'/martin': {
|
|
target: 'http://192.168.1.18:3030',
|
|
changeOrigin: true,
|
|
rewrite: (path) => path.replace(/^\/martin/, ''),
|
|
},
|
|
'/signal-batch': {
|
|
target: 'https://wing.gc-si.dev',
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
'/shipimg': {
|
|
target: 'https://wing.gc-si.dev',
|
|
changeOrigin: true,
|
|
secure: false,
|
|
},
|
|
},
|
|
},
|
|
})
|