From 9d9f61874df02de741257eb9dd5abb3b32511fa1 Mon Sep 17 00:00:00 2001 From: Holash Chand Date: Thu, 12 Oct 2023 16:40:41 +0530 Subject: [PATCH] fixed user swagger url --- .dockerignore | 2 ++ src/app/admin/publish/swaggerui/swaggerui.component.ts | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .dockerignore diff --git a/.dockerignore b/.dockerignore new file mode 100644 index 0000000..a813dbf --- /dev/null +++ b/.dockerignore @@ -0,0 +1,2 @@ +db-data* +node_modules* \ No newline at end of file diff --git a/src/app/admin/publish/swaggerui/swaggerui.component.ts b/src/app/admin/publish/swaggerui/swaggerui.component.ts index 4f1a02f..1769264 100644 --- a/src/app/admin/publish/swaggerui/swaggerui.component.ts +++ b/src/app/admin/publish/swaggerui/swaggerui.component.ts @@ -24,7 +24,7 @@ export class SwaggeruiComponent implements OnInit { domNode: document.getElementById("swagger-ui-item"), deepLinking: true, layout: "BaseLayout", - url: "https://demo-admin-portal.sunbirdrc.dev/registry/api/docs/user/swagger.json", + url: "/registry/api/docs/user/swagger.json", 'responseInterceptor': function (response: any) {