mirror of
https://github.com/badlogic/heissepreise.git
synced 2024-09-22 00:00:59 +02:00
Hard code JSON data usage.
This commit is contained in:
parent
ae470972b0
commit
be552fcd9e
|
@ -248,7 +248,7 @@ exports.loadItems = async (settings) => {
|
|||
new Promise(async (resolve) => {
|
||||
let start = performance.now();
|
||||
try {
|
||||
const useJSON = settings.useJson;
|
||||
const useJSON = true; // settings.useJson;
|
||||
if (useJSON) {
|
||||
const response = await fetch(`data/latest-canonical.${store}.compressed.json`);
|
||||
const json = await response.json();
|
||||
|
|
Loading…
Reference in New Issue
Block a user