Skip to content

Commit

Permalink
Change demo images
Browse files Browse the repository at this point in the history
  • Loading branch information
vipertechofficial committed Jun 8, 2024
1 parent 6015262 commit 5481c56
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 10 deletions.
2 changes: 1 addition & 1 deletion client/chunk_11.min.js

Large diffs are not rendered by default.

12 changes: 6 additions & 6 deletions service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,10 @@ var LOAD_FILES_USEFUL = ["/src/fonts/normative/index.css"].concat(["illusion.jpg
var LOAD_FILES_STATIC = ["sfx/md/hero_decorative-celebration-02", "sfx/md/navigation_selection-complete-celebration", "sfx/md/navigation_transition-left", "sfx/md/state-change_confirm-down", "sfx/md/ui_lock", "sfx/md/ui_unlock", "sfx/md/ui_scan", "sfx/md/alert_high-intensity", "sfx/md/navigation_transition-right", "voice/cn/accessing_memory", "voice/cn/complete", "voice/cn/please_wait", "voice/cn/data_upload", "voice/cn/processing", "voice/cn/enhanced", "voice/cn/rewriting_deep_layer_protocols", "voice/cn/vision_activated", "voice/cn/vision_deactivated", "voice/cn/filtering", "music/redeclipse/track_09"].map(F_SND).concat(["presentation", "tutorial", "create", "enhanced", "pixelated", "upload", "share1", "joke1", "create", "enhanced", "pixelated", "presentation", "presentation2", "sponsors", "tutorial", "upload", "labintro", "share2", "share3", "share4", "share5", "share6", "share7", "joke2", "joke3", "joke4", "joke5", "joke6", "joke7", "joke8", "joke9", "joke10", "joke11"].map(F_VID));

// Cache names
var REQUIRED_CACHE = "unless-update-cache-v1038-required";
var USEFUL_CACHE = "unless-update-cache-v1038-useful";
var STATIC_CACHE = "unless-update-cache-v1038-static";
var OTHER_CACHE = "unless-update-cache-v1038-other";
var REQUIRED_CACHE = "unless-update-cache-v1039-required";
var USEFUL_CACHE = "unless-update-cache-v1039-useful";
var STATIC_CACHE = "unless-update-cache-v1039-static";
var OTHER_CACHE = "unless-update-cache-v1039-other";

// Regular expressions for chunk matching
var MAIN_CHILD_CHUNK_REGEX = /chunk_(main_[a-z0-9]+)\.min\.js$/i;
Expand Down Expand Up @@ -96,7 +96,7 @@ function fetchAndCache(url, cache) {
// Install event
self.addEventListener("install", function(event) {
event.waitUntil(
Promise.all([
Promise.race([
required_cache.then(function(cache) {
return cache.addAll(INSTALL_FILES_REQUIRED);
}),
Expand All @@ -112,7 +112,7 @@ self.addEventListener("fetch", function(event) {
"use strict";
const request = event.request;
const url = request.url;
const same_site = true //event.request.referrer.startsWith(U.hostname);
const same_site = event.request.referrer.startsWith(U.hostname);

if(url.startsWith('chrome-extension')){

Expand Down
Loading

0 comments on commit 5481c56

Please sign in to comment.