Skip to content

Commit

Permalink
fix (sw): service worker fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamerrq committed Mar 17, 2024
1 parent 8837adb commit 07b7268
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion astro.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export default defineConfig({
registerType: 'autoUpdate',
manifest,
workbox: {
globDirectory: 'dist',
globDirectory: 'dist/client',
globPatterns: [
'**/*.{js,css,svg,png,jpg,jpeg,gif,webp,woff,woff2,ttf,eot,ico}'
],
Expand Down
File renamed without changes.
14 changes: 7 additions & 7 deletions public/img/icons/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "My App",
"description": "My App description",
"short_name": "My App",
"name": "jamerrq.dev",
"description": "Jamer José Desarrollo Web y Backend",
"short_name": "jamerrq.dev",
"icons": [
{
"src": "/favicon-72x72.png",
Expand Down Expand Up @@ -54,7 +54,7 @@
],
"scope": "/",
"start_url": "/?source=pwa",
"display": "standalone",
"theme_color": "#ffffff",
"background_color": "#ffffff"
}
"display": "fullscreen",
"theme_color": "#0f0f0f",
"background_color": "#0f0f0f"
}
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
"exclude": [
"node_modules",
"dist",
"astro.config.ts"
"astro.config.ts",
"public/prism.js"
],
"compilerOptions": {
"baseUrl": ".",
Expand Down

0 comments on commit 07b7268

Please sign in to comment.