Hard code JSON data usage.

This commit is contained in:
Mario Zechner 2023-06-18 22:52:32 +02:00
parent ae470972b0
commit be552fcd9e

View File

@ -248,7 +248,7 @@ exports.loadItems = async (settings) => {
new Promise(async (resolve) => { new Promise(async (resolve) => {
let start = performance.now(); let start = performance.now();
try { try {
const useJSON = settings.useJson; const useJSON = true; // settings.useJson;
if (useJSON) { if (useJSON) {
const response = await fetch(`data/latest-canonical.${store}.compressed.json`); const response = await fetch(`data/latest-canonical.${store}.compressed.json`);
const json = await response.json(); const json = await response.json();