From 1f90d0351ff1f643ba4ddffe2b66a694dd48904a Mon Sep 17 00:00:00 2001 From: Florian Schmid Date: Sat, 22 Apr 2023 07:30:01 +0200 Subject: [PATCH] move data.json --- src/cpuRepository.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();