Point WASM ApiBaseAddress at https://quranb.afrino.co to fix mixed content.
build-and-deploy / deploy (push) Has been cancelled
build-and-deploy / deploy (push) Has been cancelled
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"ApiBaseAddress": "http://185.252.31.44:30821/"
|
||||
"ApiBaseAddress": "https://quranb.afrino.co/"
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// Cache static WASM assets only — never HTML navigations.
|
||||
const CACHE = 'tafsirquran-wasm-v1';
|
||||
const CACHE = 'tafsirquran-wasm-v2';
|
||||
|
||||
self.addEventListener('install', event => event.waitUntil(self.skipWaiting()));
|
||||
self.addEventListener('activate', event => event.waitUntil(
|
||||
@@ -15,7 +15,7 @@ self.addEventListener('fetch', event => {
|
||||
event.respondWith(fetch(req));
|
||||
return;
|
||||
}
|
||||
if (url.pathname.startsWith('/api/') || url.origin.includes(':30821')) {
|
||||
if (url.pathname.startsWith('/api/')) {
|
||||
event.respondWith(fetch(req));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user