fixed dev server websocket
This commit is contained in:
@@ -3,4 +3,10 @@ import tsConfigPaths from "vite-tsconfig-paths";
|
|||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
plugins: [tsConfigPaths()],
|
plugins: [tsConfigPaths()],
|
||||||
|
server: {
|
||||||
|
hmr: {
|
||||||
|
host: 'localhost',
|
||||||
|
protocol: 'ws',
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user