From 1f3f967ec1c39312f724991610509e30b55efcd7 Mon Sep 17 00:00:00 2001 From: snusxd Date: Thu, 26 Feb 2026 17:47:13 +0300 Subject: [PATCH] fix: allowed hosts vite config --- vite.config.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index d32eba1..a59d278 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -1,7 +1,11 @@ -import { defineConfig } from 'vite' -import { svelte } from '@sveltejs/vite-plugin-svelte' +import { defineConfig } from "vite"; +import { svelte } from "@sveltejs/vite-plugin-svelte"; // https://vite.dev/config/ export default defineConfig({ plugins: [svelte()], -}) + + server: { + allowedHosts: ["snusxd.site"], + }, +});