From fc47a936710aec95838b6722e028476f9f5769a1 Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Sun, 9 Mar 2025 14:11:32 +0100 Subject: [PATCH] chore: update allowedHosts to accept all hosts --- astro.config.mjs | 4 ++-- package.json | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 558c7b0..6561343 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -20,10 +20,10 @@ export default defineConfig({ vite: { plugins: [tailwindcss()], server: { - allowedHosts: ['jleibl.net'] + allowedHosts: ['*'] }, preview: { - allowedHosts: ['jleibl.net'] + allowedHosts: ['*'] } } }); \ No newline at end of file diff --git a/package.json b/package.json index 7a70fb7..cb18f96 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dev": "astro dev", "build": "astro build", "preview": "astro preview", + "start": "astro dev --host", "lint": "astro check" }, "dependencies": {