chore(docs): allow all hosts in vite dev and preview servers
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Yechan Kim committed
Apr 12, 2026 at 23:05 UTC
fc761fa8ce8467e12f9b370eab49002a89c2382d
1 file changed
+3
-1
docs/vite.config.ts
+3
-1
@@ -3,5 +3,7 @@ import { sveltekit } from '@sveltejs/kit/vite';
3
import { defineConfig } from 'vite';
4
5
export default defineConfig({
6
- plugins: [tailwindcss(), sveltekit()]
6
+ plugins: [tailwindcss(), sveltekit()],
7
+ server: { allowedHosts: true },
8
+ preview: { allowedHosts: true }
9
});