diff --git a/apps/ngxs-demo/json/person.json b/apps/ngxs-demo/assets/person.json similarity index 100% rename from apps/ngxs-demo/json/person.json rename to apps/ngxs-demo/assets/person.json diff --git a/apps/ngxs-demo/src/person/person.service.ts b/apps/ngxs-demo/src/person/person.service.ts index fb81461ad..09af96841 100644 --- a/apps/ngxs-demo/src/person/person.service.ts +++ b/apps/ngxs-demo/src/person/person.service.ts @@ -11,7 +11,7 @@ export class PersonService { public fetchAll(): Observable { return this.httpService - .get<{data: PersonModel}>('./app/json/person.json') + .get<{data: PersonModel}>('./assets/person.json') .pipe(map((response: {data: PersonModel}): PersonModel => response.data)); } }