Skip to content

Commit

Permalink
no avif support, for now
Browse files Browse the repository at this point in the history
  • Loading branch information
StrawberryMaster committed Jul 2, 2024
1 parent b0282d4 commit 5a7492a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion service-worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ async function generateFilesToCache() {
let match;

while ((match = regex.exec(folderFiles)) !== null) {
if (match[1] !== 'bg19440.avif') {
if (match[1] !== 'bg16383.webp') {
filesToCache.push(`/${folder}/${match[1]}`);
}
}
Expand Down
2 changes: 1 addition & 1 deletion static/js/generate.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const mapSelector = document.getElementById('map-selector');

// Preloads the map images
const mapUrls = {
"xlarge": "static/media/bg19440.avif",
"xlarge": "static/media/bg16383.webp",
"large-nxtgen": "static/media/bg21600-nxtgen.jpg",
"large": "static/media/bg12000.jpg",
"blkmar": "static/media/bg13500-blkmar.jpg",
Expand Down
Binary file removed static/media/bg19440.avif
Binary file not shown.

0 comments on commit 5a7492a

Please sign in to comment.