-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat : ws 에러 수정 완료 및 소켓 통신 nginx로 변경 성공
- Loading branch information
1 parent
596da1f
commit ec7e663
Showing
6 changed files
with
52 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,11 @@ | ||
import { defineConfig } from "vite"; | ||
|
||
export default defineConfig({ | ||
server: { | ||
host: "0.0.0.0", | ||
port: 5173, | ||
proxy: { | ||
"/api": { | ||
// TEST: 평가 시 80번 포트로 변경 (nginx를 거쳐 api를 호출하도록) | ||
target: "https://localhost:443", | ||
changeOrigin: true, | ||
}, | ||
}, | ||
server: { | ||
host: "0.0.0.0", | ||
hmr: { | ||
clientPort: 5173, | ||
protocol: "ws", | ||
}, | ||
}); | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters