mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 09:41:17 +11:00
fix config
This commit is contained in:
parent
329f07d30c
commit
7d186e1a45
2 changed files with 14 additions and 14 deletions
|
|
@ -1,5 +1,5 @@
|
|||
import type { PwaOptions } from "@vite-pwa/vitepress";
|
||||
import { info } from "./constants";
|
||||
import { meta } from "./constants";
|
||||
|
||||
export const pwa = {
|
||||
outDir: ".vitepress/dist",
|
||||
|
|
@ -7,9 +7,9 @@ export const pwa = {
|
|||
includeManifestIcons: false,
|
||||
manifest: {
|
||||
id: "/",
|
||||
name: info.name,
|
||||
short_name: info.name,
|
||||
description: info.description,
|
||||
name: meta.name,
|
||||
short_name: meta.name,
|
||||
description: meta.description,
|
||||
theme_color: "#ffffff",
|
||||
start_url: "/",
|
||||
lang: "en-US",
|
||||
|
|
@ -17,7 +17,7 @@ export const pwa = {
|
|||
orientation: "natural",
|
||||
display: "standalone",
|
||||
display_override: ["window-controls-overlay"],
|
||||
categories: info.keywords,
|
||||
categories: meta.keywords,
|
||||
icons: [
|
||||
{
|
||||
src: "pwa-64x64.png",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue