File tree Expand file tree Collapse file tree 3 files changed +30
-2
lines changed
Expand file tree Collapse file tree 3 files changed +30
-2
lines changed Original file line number Diff line number Diff line change @@ -311,6 +311,7 @@ func main() {
311311
312312 // Serve Nuxt build output directories
313313 router .Static ("/_nuxt" , filepath .Join (staticPath , "_nuxt" ))
314+ router .Static ("/_fonts" , filepath .Join (staticPath , "_fonts" ))
314315 router .Static ("/images" , filepath .Join (staticPath , "images" ))
315316
316317 // Serve root static files
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default defineNuxtConfig({
3232 {
3333 rel : 'icon' ,
3434 href : '/favicon.ico' ,
35- sizes : '32x32 ' ,
35+ sizes : '48x48 ' ,
3636 } ,
3737 {
3838 rel : 'apple-touch-icon' ,
@@ -243,7 +243,7 @@ export default defineNuxtConfig({
243243 theme_color : '#E8DFA7' ,
244244 name : 'Interact' ,
245245 short_name : 'Interact' ,
246- orientation : 'portrait ' ,
246+ display : 'standalone ' ,
247247 icons : [
248248 {
249249 src : 'pwa-64x64.png' ,
@@ -268,6 +268,21 @@ export default defineNuxtConfig({
268268 purpose : 'maskable' ,
269269 } ,
270270 ] ,
271+ shortcuts : [
272+ {
273+ name : 'Your local church' ,
274+ short_name : 'Local church' ,
275+ description : 'View your local churches standings' ,
276+ url : '/standings/local' ,
277+ icons : [
278+ {
279+ src : 'pwa-192x192.png' ,
280+ sizes : '192x192' ,
281+ type : 'image/png' ,
282+ } ,
283+ ] ,
284+ } ,
285+ ] ,
271286 } ,
272287 } ,
273288
Original file line number Diff line number Diff line change 1+ import {
2+ defineConfig ,
3+ minimal2023Preset ,
4+ } from '@vite-pwa/assets-generator/config'
5+
6+ export default defineConfig ( {
7+ headLinkOptions : {
8+ preset : '2023' ,
9+ } ,
10+ preset : minimal2023Preset ,
11+ images : [ 'public/app-icon.png' ] ,
12+ } )
You can’t perform that action at this time.
0 commit comments