- Meilisearch 기반 일정 검색 API 구현 - 멤버 별명으로 검색 지원 (하냥 → 송하영) - 영문 자판 → 한글 변환 검색 지원 - 검색 응답 구조 개선 (category 객체, datetime 통합, members 배열) - 개발/배포 환경 Dockerfile 통합 (주석 전환 방식) - docker-compose.yml 단일 파일로 통합 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
31 lines
737 B
JavaScript
31 lines
737 B
JavaScript
import { defineConfig } from "vite";
|
|
import react from "@vitejs/plugin-react";
|
|
|
|
export default defineConfig({
|
|
plugins: [react()],
|
|
server: {
|
|
host: true,
|
|
port: 80,
|
|
allowedHosts: true,
|
|
proxy: {
|
|
// 개발 모드 (localhost:3000)
|
|
"/api": {
|
|
target: "http://localhost:3000",
|
|
changeOrigin: true,
|
|
},
|
|
"/docs": {
|
|
target: "http://localhost:3000",
|
|
changeOrigin: true,
|
|
},
|
|
// 배포 모드 (사용 시 위를 주석처리)
|
|
// "/api": {
|
|
// target: "http://fromis9-backend:3000",
|
|
// changeOrigin: true,
|
|
// },
|
|
// "/docs": {
|
|
// target: "http://fromis9-backend:3000",
|
|
// changeOrigin: true,
|
|
// },
|
|
},
|
|
},
|
|
});
|