Skip to content

Commit 5d4ce2a

Browse files
fix(website): configure security.allowedDomains (#1128)
Necessary due to the change in withastro/astro#15473
1 parent 8c40899 commit 5d4ce2a

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

website/astro.config.mjs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,17 @@ export default defineConfig({
1111
adapter: node({
1212
mode: 'standalone',
1313
}),
14+
security: {
15+
allowedDomains: [
16+
{
17+
hostname: 'genspectrum.org',
18+
protocol: 'https',
19+
},
20+
{
21+
hostname: 'staging.genspectrum.org',
22+
protocol: 'https',
23+
},
24+
],
25+
},
1426
vite: { plugins: [tailwindcss()] },
1527
});

0 commit comments

Comments
 (0)