Skip to content

Commit

Permalink
feat: 정상화
Browse files Browse the repository at this point in the history
  • Loading branch information
gogumalatte committed Nov 15, 2024
1 parent 9bee2fa commit c02c001
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,6 @@ import react from "@vitejs/plugin-react";
export default defineConfig({
plugins: [react()],
server: {
proxy: {
"/api": {
target: "http://34.64.38.113:8080", // HTTP 서버 주소
changeOrigin: true,
secure: false, // HTTPS로 강제하지 않음
rewrite: (path) => path.replace(/^\/api/, ""), // '/api'를 제거하고 실제 API 엔드포인트로 요청 전달
},
},
host: true, // 모든 네트워크 인터페이스에서 접근 가능
},
build: {
Expand Down

0 comments on commit c02c001

Please sign in to comment.