fix: swap staging/production environment conditions 🤦‍♂️

zio/stable
Daniel Roe 2022-12-06 23:39:17 +00:00
parent abbd026c1d
commit 28c4c6a3e8
No known key found for this signature in database
GPG Key ID: 22D5008E4F5D9B55
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ export default defineNuxtConfig({
apiToken: '', apiToken: '',
}, },
public: { public: {
env: isCI ? process.env.PULL_REQUEST === 'true' ? 'production' : 'staging' : 'local', env: isCI ? process.env.PULL_REQUEST === 'true' ? 'staging' : 'production' : 'local',
translateApi: '', translateApi: '',
// Masto uses Mastodon version checks to see what features are enabled. // Masto uses Mastodon version checks to see what features are enabled.
// Mastodon alternatives like GoToSocial will always fail these checks, so // Mastodon alternatives like GoToSocial will always fail these checks, so