chore: remove obsolete site.webmanifest and update manifest.ts documentation

- Delete the outdated `site.webmanifest` file to clean up the codebase.
- Enhance documentation in `manifest.ts` to clarify the purpose of the generated web app manifest.
This commit is contained in:
javayhu 2025-03-15 00:51:32 +08:00
parent 130880cf87
commit 0045ecf91e
2 changed files with 2 additions and 1 deletions

View File

@ -1 +0,0 @@
{"name":"","short_name":"","icons":[{"src":"/android-chrome-192x192.png","sizes":"192x192","type":"image/png"},{"src":"/android-chrome-512x512.png","sizes":"512x512","type":"image/png"}],"theme_color":"#ffffff","background_color":"#ffffff","display":"standalone"}

View File

@ -2,6 +2,8 @@ import { type MetadataRoute } from 'next';
import { getDefaultMessages } from '@/i18n/messages';
/**
* Generates the Web App Manifest for the application
*
* generated file name: site.webmanifest
*
* ref: https://github.com/amannn/next-intl/blob/main/examples/example-app-router/src/app/manifest.ts
*