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 8baecb0 + 5faa4b7 commit 70ee13aCopy full SHA for 70ee13a
lesson_25/template/vite.config.ts
@@ -1,6 +1,6 @@
1
import react from '@vitejs/plugin-react';
2
-import {URL, fileURLToPath} from 'url';
3
-import {defineConfig} from 'vite';
+import { URL, fileURLToPath } from 'url';
+import { defineConfig } from 'vite';
4
5
// https://vitejs.dev/config/
6
export default defineConfig({
@@ -13,4 +13,7 @@ export default defineConfig({
13
},
14
],
15
16
+ server: {
17
+ host: '0.0.0.0'
18
+ }
19
});
0 commit comments