chenhunghan commited on
Commit
d435c71
·
unverified ·
1 Parent(s): 66a010a

fix: add any host for vite app

Browse files

Signed-off-by: Hung-Han (Henry) Chen <[email protected]>

Files changed (1) hide show
  1. demo/vite.config.ts +1 -0
demo/vite.config.ts CHANGED
@@ -7,6 +7,7 @@ export default defineConfig({
7
  outDir: 'dist',
8
  },
9
  preview: {
 
10
  allowedHosts: ['*'],
11
  },
12
  });
 
7
  outDir: 'dist',
8
  },
9
  preview: {
10
+ host: true,
11
  allowedHosts: ['*'],
12
  },
13
  });