refactor: rename project from dgray.io to kashilo.com
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const CACHE_NAME = 'dgray-v51';
|
||||
const CACHE_NAME = 'kashilo-v51';
|
||||
const STATIC_ASSETS = [
|
||||
'/',
|
||||
'/index.html',
|
||||
@@ -108,7 +108,7 @@ self.addEventListener('fetch', (event) => {
|
||||
if (request.method !== 'GET') return;
|
||||
|
||||
// API calls: Network First (external API domain)
|
||||
if (url.hostname === 'api.dgray.io') {
|
||||
if (url.hostname === 'api.kashilo.com') {
|
||||
event.respondWith(networkFirst(request));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user