We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3735b84 + 1a7343f commit 7076804Copy full SHA for 7076804
vite.config.ts
@@ -22,13 +22,11 @@ export default defineConfig(({ mode }: { mode: string }) => {
22
host: "mbtips.kr",
23
protocol: "wss"
24
},
25
- https:
26
- !isProduction && fs.existsSync(keyPath) && fs.existsSync(certPath)
27
- ? undefined // 배포 환경에서는 HTTPS를 비활성화 (Nginx가 처리)
28
- : {
29
- key: fs.readFileSync(keyPath),
30
- cert: fs.readFileSync(certPath)
31
- }
+ https: isProduction
+ ? undefined // 배포 환경에서는 HTTPS를 비활성화 (Nginx가 처리)
+ : fs.existsSync(keyPath) && fs.existsSync(certPath)
+ ? { key: fs.readFileSync(keyPath), cert: fs.readFileSync(certPath) }
+ : undefined
32
33
plugins: [react(), tailwindcss()],
34
resolve: {
0 commit comments