Allowed hosts didn't work so I added it to the astro.config.mjs.

This commit is contained in:
scadmin
2025-12-15 21:08:19 +00:00
parent c0f41e4219
commit e53499e166

View File

@@ -8,4 +8,13 @@ import { defineConfig } from 'astro/config';
export default defineConfig({
site: 'https://example.com',
integrations: [mdx(), sitemap()],
vite: {
server: {
allowedHosts: [
"seans.cloud",
"www.seans.cloud",
".seans.cloud", // allows all subdomains too
],
},
},
});