Skip to content

Commit

Permalink
fix broken asset and PWA links
Browse files Browse the repository at this point in the history
  • Loading branch information
Nek-12 committed Dec 30, 2024
1 parent 694e8c1 commit 80407ba
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
16 changes: 11 additions & 5 deletions docs/docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ const config: Config = {
{ name: "theme-color", content: "#00d46a" },
{ name: "og:type", content: "website" },
{ name: "og:site_name", content: "FlowMVI" },
{ name: "twitter:card", content: "https://opensource.respawn.pro/flowmvi/banner.png" },
{ name: "twitter:card", content: "https://opensource.respawn.pro/FlowMVI/banner.png" },
{ name: "twitter:title", content: "FlowMVI" },
{ name: "twitter:description", content: description },
{ name: "og:description", content: description },
{ name: "description", content: description },
],
image: 'static/banner.png',
image: '/banner.png',
algolia: {
contextualSearch: true,
appId: "YFIMJHUME7",
Expand Down Expand Up @@ -138,17 +138,18 @@ const config: Config = {
'appInstalled',
'standalone',
'queryString',
'saveData',
],
pwaHead: [
{
tagName: 'link',
rel: 'icon',
href: '/img/icon.svg',
href: 'icon.svg',
},
{
tagName: 'link',
rel: 'manifest',
href: '/manifest.json',
href: 'manifest.json',
},
{
tagName: 'meta',
Expand All @@ -158,7 +159,12 @@ const config: Config = {
{
tagName: 'link',
rel: 'apple-touch-icon',
href: '/img/apple-touch-icon.png',
href: 'apple-touch-icon.png',
},
{
tagName: 'meta',
name: 'apple-mobile-web-app-capable',
content: 'yes',
},
],
},
Expand Down
13 changes: 9 additions & 4 deletions docs/static/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,15 @@
"sizes": "512x512"
}
],
"id": "/?source=pwa",
"start_url": "/?source=pwa",
"start_url": "./index.html",
"background_color": "#0B090A",
"display": "standalone",
"scope": "/",
"theme_color": "#00d46a"
"theme_color": "#00d46a",
"scope": "./",
"related_applications": [
{
"platform": "webapp",
"url": "https://opensource.respawn.pro/FlowMVI/manifest.json"
}
]
}

0 comments on commit 80407ba

Please sign in to comment.