Skip to content

Commit

Permalink
Update PWA config
Browse files Browse the repository at this point in the history
  • Loading branch information
SheepChef committed Nov 23, 2024
1 parent e4b1d02 commit 7d14311
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 3 deletions.
File renamed without changes
2 changes: 1 addition & 1 deletion docs/manifest.webmanifest
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"name":"魔曰","short_name":"Abracadabra","start_url":".","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","id":"abracadabra","description":"对文字施以神秘魔法","theme_color":"#5753c9","icons":[{"src":"/favicon.png","sizes":"1024x1024","type":"image/png"}]}
{"name":"魔曰","short_name":"Abracadabra","start_url":".","display":"standalone","background_color":"#ffffff","lang":"en","scope":"./","id":"abracadabra","description":"对文字施以神秘魔法","theme_color":"#5753c9","icons":[{"src":"assets/favicon.png","sizes":"1024x1024","type":"image/png"}]}
2 changes: 1 addition & 1 deletion docs/sw.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added src/assets/favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default defineConfig({
icons: [
//添加图标, 注意路径和图像像素正确
{
src: "/favicon.png",
src: "assets/favicon.png",
sizes: "1024x1024", //icon大小要与实际icon大小一致
type: "image/png"
// form_factor: "handset",
Expand Down

0 comments on commit 7d14311

Please sign in to comment.