feat: Deploy target to lowercase

This commit is contained in:
Alicia Sykes 2024-06-18 22:06:34 +01:00
parent e529a2e229
commit 8c17303179

View File

@ -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');