Enabled SSR
This commit is contained in:
@@ -8,6 +8,7 @@ import tailwind from '@astrojs/tailwind';
|
|||||||
import mdx from '@astrojs/mdx';
|
import mdx from '@astrojs/mdx';
|
||||||
import react from '@astrojs/react';
|
import react from '@astrojs/react';
|
||||||
import partytown from '@astrojs/partytown';
|
import partytown from '@astrojs/partytown';
|
||||||
|
import netlify from '@astrojs/netlify';
|
||||||
import icon from 'astro-icon';
|
import icon from 'astro-icon';
|
||||||
import compress from 'astro-compress';
|
import compress from 'astro-compress';
|
||||||
import type { AstroIntegration } from 'astro';
|
import type { AstroIntegration } from 'astro';
|
||||||
@@ -22,7 +23,8 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg
|
|||||||
hasExternalScripts ? (Array.isArray(items) ? items.map((item) => item()) : [items()]) : [];
|
hasExternalScripts ? (Array.isArray(items) ? items.map((item) => item()) : [items()]) : [];
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: 'static',
|
output: 'server',
|
||||||
|
adapter: netlify(),
|
||||||
|
|
||||||
i18n: {
|
i18n: {
|
||||||
locales: ["en", "de", "nl", "fr"],
|
locales: ["en", "de", "nl", "fr"],
|
||||||
|
Reference in New Issue
Block a user