move data.json

This commit is contained in:
Florian Schmid 2023-04-22 07:30:01 +02:00
parent ae3445bcfe
commit 1f90d0351f

View File

@ -5,7 +5,7 @@ export class CpuRepository {
#nextCPU;
async init() {
const fetchResult = await fetch("./js/data.json");
const fetchResult = await fetch("../data.json");
this.#cpuList = await fetchResult.json();
this.#currentCPU = this.getRandomCpu();