From 0045ecf91e948997aa200b33ddccd2fa58f5420e Mon Sep 17 00:00:00 2001 From: javayhu Date: Sat, 15 Mar 2025 00:51:32 +0800 Subject: [PATCH] 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. --- public/site.webmanifest | 1 - src/app/manifest.ts | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) delete mode 100755 public/site.webmanifest diff --git a/public/site.webmanifest b/public/site.webmanifest deleted file mode 100755 index 45dc8a2..0000000 --- a/public/site.webmanifest +++ /dev/null @@ -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"} \ No newline at end of file diff --git a/src/app/manifest.ts b/src/app/manifest.ts index 9cc7862..b19c939 100644 --- a/src/app/manifest.ts +++ b/src/app/manifest.ts @@ -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 *