fix vercel env detection

This commit is contained in:
Pooya Parsa 2020-11-06 15:05:11 +01:00
parent 3fa6717882
commit 10c306aee0

View File

@ -57,7 +57,7 @@ export function detectTarget () {
return 'netlify' return 'netlify'
} }
if (process.env.VERCEL_URL) { if (process.env.NOW_BUILDER) {
return 'vercel' return 'vercel'
} }