Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
praveenjadhav1510 committed Dec 17, 2024
1 parent 5d3d323 commit f097efd
Show file tree
Hide file tree
Showing 11 changed files with 53 additions and 14 deletions.
8 changes: 3 additions & 5 deletions asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,13 @@
{
"files": {
"main.css": "/save-links/static/css/main.6342d811.css",
"main.js": "/save-links/static/js/main.69212c76.js",
"static/js/453.fdf12fae.chunk.js": "/save-links/static/js/453.fdf12fae.chunk.js",
"main.js": "/save-links/static/js/main.26f1bf97.js",
"index.html": "/save-links/index.html",
"main.6342d811.css.map": "/save-links/static/css/main.6342d811.css.map",
"main.69212c76.js.map": "/save-links/static/js/main.69212c76.js.map",
"453.fdf12fae.chunk.js.map": "/save-links/static/js/453.fdf12fae.chunk.js.map"
"main.26f1bf97.js.map": "/save-links/static/js/main.26f1bf97.js.map"
},
"entrypoints": [
"static/css/main.6342d811.css",
"static/js/main.69212c76.js"
"static/js/main.26f1bf97.js"
]
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/save-links/favicon.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="save links" content="This web page offers an interactive interface for saving and managing favorite links in customizable cards. Each card displays user-defined text, URL, and color, with an in-built icon loader that fetches the website's favicon for a professional look. This allows users to visually organize and quickly access their links."/><link rel="apple-touch-icon" href="/save-links/favicon.svg"/><link rel="manifest" href="/save-links/manifest.json"/><title>Save Links</title><script defer="defer" src="/save-links/static/js/main.69212c76.js"></script><link href="/save-links/static/css/main.6342d811.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/save-links/favicon.svg"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="save links" content="This web page offers an interactive interface for saving and managing favorite links in customizable cards. Each card displays user-defined text, URL, and color, with an in-built icon loader that fetches the website's favicon for a professional look. This allows users to visually organize and quickly access their links."/><link rel="apple-touch-icon" href="/save-links/favicon.svg"/><link rel="manifest" href="/save-links/manifest.json"/><title>Save Links</title><script defer="defer" src="/save-links/static/js/main.26f1bf97.js"></script><link href="/save-links/static/css/main.6342d811.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
44 changes: 44 additions & 0 deletions service-worker.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
const CACHE_NAME = 'save-links-v1';
const urlsToCache = [
'/',
'/index.html',
'/manifest.json',
'/favicon.jpeg',
'/favicon.svg',
'/default.svg',
];

// Install event
self.addEventListener('install', (event) => {
event.waitUntil(
caches.open(CACHE_NAME).then((cache) => {
console.log('Opened cache');
return cache.addAll(urlsToCache);
})
);
});

// Fetch event
self.addEventListener('fetch', (event) => {
event.respondWith(
caches.match(event.request).then((response) => {
return response || fetch(event.request);
})
);
});

// Activate event
self.addEventListener('activate', (event) => {
const cacheWhitelist = [CACHE_NAME];
event.waitUntil(
caches.keys().then((cacheNames) =>
Promise.all(
cacheNames.map((cacheName) => {
if (!cacheWhitelist.includes(cacheName)) {
return caches.delete(cacheName);
}
})
)
)
);
});
2 changes: 1 addition & 1 deletion static/css/main.6342d811.css.map

Large diffs are not rendered by default.

2 changes: 0 additions & 2 deletions static/js/453.fdf12fae.chunk.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/453.fdf12fae.chunk.js.map

This file was deleted.

3 changes: 3 additions & 0 deletions static/js/main.26f1bf97.js

Large diffs are not rendered by default.

File renamed without changes.
1 change: 1 addition & 0 deletions static/js/main.26f1bf97.js.map

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions static/js/main.69212c76.js

This file was deleted.

1 change: 0 additions & 1 deletion static/js/main.69212c76.js.map

This file was deleted.

0 comments on commit f097efd

Please sign in to comment.