Initial commit
This commit is contained in:
17
client/vite.config.ts
Normal file
17
client/vite.config.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { defineConfig } from 'vite';
|
||||
|
||||
const base = process.env.VITE_BASE_PATH || '/';
|
||||
|
||||
export default defineConfig({
|
||||
base,
|
||||
server: {
|
||||
host: true,
|
||||
port: 5173,
|
||||
proxy: {
|
||||
'/ws': {
|
||||
target: 'ws://127.0.0.1:8765',
|
||||
ws: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user