diff --git a/astro.config.mjs b/astro.config.mjs index df372c076..3257aa754 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -7,10 +7,10 @@ import tailwindcss from '@tailwindcss/vite'; export default defineConfig({ output: 'static', vite: { - server: { + plugins: [tailwindcss()], + preview: { host: '0.0.0.0', - allowedHosts: true, + allowedHosts: ['.easypanel.host', 'localhost', '127.0.0.1'], }, - plugins: [tailwindcss()] }, }); \ No newline at end of file