Skip to content

Commit c0aae8f

Browse files
Update Vite server configuration to allow hosts
1 parent 12d4df0 commit c0aae8f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

vite.config.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ import tailwindcss from '@tailwindcss/vite'
44

55
// https://vite.dev/config/
66
export default defineConfig({
7-
server: { host: '0.0.0.0' },
7+
server: {
8+
host: '0.0.0.0',
9+
allowedHosts: true
10+
},
811
plugins: [react(), tailwindcss()],
912
})

0 commit comments

Comments
 (0)