From a56bc83d5907e352b4fff6ec0220ef90fda2bec9 Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Sat, 7 Jun 2025 01:17:07 +0200 Subject: [PATCH] Add server configuration to Astro setup for external access - Introduce server settings in astro.config.ts to specify port 3000 and enable external access. - This change enhances the development environment by allowing connections from outside the local network. --- astro.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/astro.config.ts b/astro.config.ts index 4860e88..a2f8874 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -25,7 +25,11 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg export default defineConfig({ output: 'server', adapter: node({ mode: 'standalone' }), - + + server: { + port: 3000, + host: true, // Allows external access if needed + }, i18n: { locales: ["en", "de", "nl", "fr"],