Skip to content

Commit

Permalink
Increment bookmarklet version
Browse files Browse the repository at this point in the history
  • Loading branch information
expitau committed May 14, 2024
1 parent b9b0b5e commit 3bf730f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/bookmarklet.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
window.BOOKMARKLET_DATA = function () {
/* Fetch metadata.json and alert if version different */
async function checkVersion() {
let VERSION = 1;
let VERSION = 2;
let response = await fetch(`https://raw.githubusercontent.com/expitau/InfiniteCraftWiki/main/web/data/metadata.json`);
let data = await response.json();
console.log(data);
Expand Down
2 changes: 1 addition & 1 deletion web/data/metadata.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"recipeCount":3469889,"bookmarkletVersion":1}
{"recipeCount":3469889,"bookmarkletVersion":2}

0 comments on commit 3bf730f

Please sign in to comment.