From 8c173031790061bc52e76c14e698987fe06d5be3 Mon Sep 17 00:00:00 2001 From: Alicia Sykes Date: Tue, 18 Jun 2024 22:06:34 +0100 Subject: [PATCH] feat: Deploy target to lowercase --- astro.config.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/astro.config.mjs b/astro.config.mjs index 72ac4ec..1790e63 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -20,7 +20,7 @@ const unwrapEnvVar = (varName, fallbackValue) => { } // Determine the deploy target (vercel, netlify, cloudflare, node) -const deployTarget = unwrapEnvVar('PLATFORM', 'node'); +const deployTarget = unwrapEnvVar('PLATFORM', 'node').toLowerCase(); // Determine the output mode (server, hybrid or static) const output = unwrapEnvVar('OUTPUT', 'hybrid');