@fastify/swagger-ui
Advanced tools
Comparing version 1.10.0 to 1.10.1
@@ -37,4 +37,8 @@ 'use strict' | ||
if (logoData && resConfig.layout === 'StandaloneLayout') { | ||
const img = document.querySelector('#swagger-ui > section > div.topbar > div > div > a > img') | ||
const link = document.querySelector('#swagger-ui > section > div.topbar > div > div > a') | ||
const img = document.createElement('img') | ||
img.height = 40 | ||
img.src = logoData | ||
link.innerHTML = '' | ||
link.appendChild(img) | ||
} | ||
@@ -41,0 +45,0 @@ |
{ | ||
"name": "@fastify/swagger-ui", | ||
"version": "1.10.0", | ||
"version": "1.10.1", | ||
"description": "Serve Swagger-ui for Fastify", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
5127201
11815