From 476824f69529639f2d369c281a62a4ee224bdb06 Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Fri, 18 May 2018 14:24:53 -0400 Subject: [PATCH] alternative github icon Signed-off-by: Kenneth Reitz --- httpbin/templates/flasgger/index.html | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/httpbin/templates/flasgger/index.html b/httpbin/templates/flasgger/index.html index bde2af1..3dd700f 100644 --- a/httpbin/templates/flasgger/index.html +++ b/httpbin/templates/flasgger/index.html @@ -29,7 +29,13 @@ - Fork me on GitHub + + + @@ -104,7 +110,7 @@ window.onload = function() { } json.host = window.location.host; // sets the current host - + const ui = SwaggerUIBundle({ spec: json, validatorUrl: null, @@ -143,7 +149,7 @@ window.onload = function() { {%- endif %} // layout: "StandaloneLayout" // uncomment to enable the green top header }) - + window.ui = ui // uncomment to rename the top brand if layout is enabled @@ -158,5 +164,5 @@ window.onload = function() { {% endif %} {% include 'footer.html' %} - +