Skip to content

Commit

Permalink
Merge pull request #1973 from CatsJuice/revert-1966-fix/build-html-st…
Browse files Browse the repository at this point in the history
…atic-base-url

Revert "fix(swagger-module): change buildSwaggerHtml baseUrl from absolute to…"
  • Loading branch information
kamilmysliwiec authored Jul 12, 2022
2 parents 1dfb901 + 8676ae7 commit 2b21b54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/swagger-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 2b21b54

Please sign in to comment.