Skip to content

Commit

Permalink
Made service worker load from manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDragonCh committed Apr 29, 2024
1 parent 487f5e3 commit 10a2b63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions public/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
"start_url": "/",
"name": "AndrewDragon",
"short_name": "AndrewDragon",
"serviceworker": {
"src": "/sw.js"
},
"description": "AndrewDragon - YouTube Streamer and Content Creator",
"id": "dev.andrewdragon",
"orientation": "portrait",
Expand Down
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const metadata: Metadata = {
applicationName: 'AndrewDragon',
creator: 'Andrew Still',
referrer: 'origin-when-cross-origin',
manifest: 'https://www.andrewdragon.dev/manifest.json',
manifest: '/manifest.json',
keywords: ['youtube', 'twitch', 'twitter', 'wyvernaere', 'dragonaere'],
formatDetection: {
email: false,
Expand Down

0 comments on commit 10a2b63

Please sign in to comment.