fix: move std-env out of app runtime

This commit is contained in:
Daniel Roe 2022-11-27 18:39:40 +00:00
parent 3d5a4e6a90
commit 494804fc1c
No known key found for this signature in database
GPG key ID: 22D5008E4F5D9B55
2 changed files with 6 additions and 5 deletions

View file

@ -1,4 +1,5 @@
import Inspect from 'vite-plugin-inspect'
import { isCI } from 'std-env'
export default defineNuxtConfig({
ssr: false,
@ -43,6 +44,7 @@ export default defineNuxtConfig({
},
},
runtimeConfig: {
env: isCI ? 'deployed' : 'local',
deployUrl: process.env.PULL_REQUEST === 'true' ? process.env.DEPLOY_PRIME_URL : '',
cloudflare: {
accountId: '',