From 3ff17ff98bfce41b4b294291c1144b44f5d99eba Mon Sep 17 00:00:00 2001 From: Peter Lauck Date: Tue, 13 Aug 2024 19:12:32 +0000 Subject: [PATCH] fix(design-land): wrong design examples path --- .../app/core/code-preview/service/code-example.service.spec.ts | 2 +- .../src/app/core/code-preview/service/code-example.service.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/design-land/src/app/core/code-preview/service/code-example.service.spec.ts b/apps/design-land/src/app/core/code-preview/service/code-example.service.spec.ts index 8ffb2a65a7..4bab2e5005 100644 --- a/apps/design-land/src/app/core/code-preview/service/code-example.service.spec.ts +++ b/apps/design-land/src/app/core/code-preview/service/code-example.service.spec.ts @@ -35,7 +35,7 @@ describe('CodeExampleService', () => { element: 'undefined-example', })); }); - const req = httpMock.expectOne('/assets/design-examples/test.json'); + const req = httpMock.expectOne('/assets/design/examples/test.json'); req.flush('test'); httpMock.verify(); }); diff --git a/apps/design-land/src/app/core/code-preview/service/code-example.service.ts b/apps/design-land/src/app/core/code-preview/service/code-example.service.ts index 575fc84263..404cab1dcc 100644 --- a/apps/design-land/src/app/core/code-preview/service/code-example.service.ts +++ b/apps/design-land/src/app/core/code-preview/service/code-example.service.ts @@ -36,7 +36,7 @@ export interface DgeniDesignExampleDoc { providedIn: 'root', }) export class CodeExampleService { - private docsLocation = '/assets/design-examples/'; + private docsLocation = '/assets/design/examples/'; constructor(private httpClient: HttpClient) { } /**