File size: 469 Bytes
6b7d17f
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
de587ea
 
 
6b7d17f
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import path from "path"
import react from "@vitejs/plugin-react"
import { defineConfig } from "vite"

export default defineConfig({
  plugins: [react()],
  resolve: {
    alias: {
      "@": path.resolve(__dirname, "./src"),
    },
  },
  define: {
    __API_BASE_URL__: JSON.stringify(process.env.VITE_API_BASE_URL || "http://localhost:5174"),
  },
  server: {
    host: "0.0.0.0",
    port: 7860,
    allowedHosts: [
      "seonglae-corrsteer.hf.space"
    ]
  },
})