fix: git branch name (#771)

This commit is contained in:
三咲智子 Kevin Deng 2023-01-04 21:41:48 +08:00 committed by GitHub
parent 8a66174477
commit 9a167ee990
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 3 deletions

View file

@ -15,7 +15,7 @@ export const pwa: VitePWANuxtOptions = {
includeManifestIcons: false,
manifest: async () => {
const { env } = await getEnv()
const envName = `${env !== 'release' ? '' : ` (${env})`}`
const envName = `${env === 'release' ? '' : ` (${env})`}`
return {
scope: '/',
id: '/',