Skip to content

Commit

Permalink
Use manifest 'name' for 'short_name' if provided
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielchl committed Nov 13, 2021
1 parent 79322c1 commit de66cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export function manifest (nuxt, pwa: PWAContext) {
// Combine sources
const defaults: ManifestOptions = {
name: process.env.npm_package_name,
short_name: process.env.npm_package_name,
short_name: pwa.manifest.name || process.env.npm_package_name,
description: process.env.npm_package_description,
publicPath,
icons: [],
Expand Down

0 comments on commit de66cf2

Please sign in to comment.