mirror of
https://github.com/Lissy93/web-check.git
synced 2024-11-07 08:55:22 +01:00
feat: Deploy target to lowercase
This commit is contained in:
parent
e529a2e229
commit
8c17303179
@ -20,7 +20,7 @@ const unwrapEnvVar = (varName, fallbackValue) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Determine the deploy target (vercel, netlify, cloudflare, node)
|
// 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)
|
// Determine the output mode (server, hybrid or static)
|
||||||
const output = unwrapEnvVar('OUTPUT', 'hybrid');
|
const output = unwrapEnvVar('OUTPUT', 'hybrid');
|
||||||
|
Loading…
Reference in New Issue
Block a user