From 8676ae711239eb46f1911d57640f16359a725e3a Mon Sep 17 00:00:00 2001 From: Cats Juice <39363750+CatsJuice@users.noreply.github.com> Date: Mon, 11 Jul 2022 22:35:43 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix(swagger-module):=20change=20build?= =?UTF-8?q?SwaggerHtml=20baseUrl=20from=20absolute=20to=E2=80=A6"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/swagger-module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/swagger-module.ts b/lib/swagger-module.ts index 9d82d0f40..85d695f74 100644 --- a/lib/swagger-module.ts +++ b/lib/swagger-module.ts @@ -117,7 +117,7 @@ export class SwaggerModule { const yamlDocument = jsyaml.dump(document); const jsonDocument = JSON.stringify(document); - const html = buildSwaggerHTML(`.${finalPath}`, document, options); + const html = buildSwaggerHTML(finalPath, document, options); const swaggerInitJS = buildSwaggerInitJS(document, options); const httpAdapter = app.getHttpAdapter();