diff --git a/src/cpuRepository.ts b/src/cpuRepository.ts index 471416d..dd55519 100644 --- a/src/cpuRepository.ts +++ b/src/cpuRepository.ts @@ -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();