Skip to content

Commit

Permalink
change logo
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoval committed Dec 9, 2024
1 parent 57f9ee5 commit 800ac5a
Showing 1 changed file with 11 additions and 7 deletions.
18 changes: 11 additions & 7 deletions dist/swagger-initializer.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,20 @@
window.onload = function () {
//<editor-fold desc="Changeable Configuration Block">

// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: 'cmd/network-observer/spec/openapi.yaml',
url: 'https://github.com/skupperproject/skupper/blob/v2/cmd/network-observer/spec/openapi.yaml',
dom_id: '#swagger-ui',
enableCORS: false,
deepLinking: true,
presets: [SwaggerUIBundle.presets.apis, SwaggerUIStandalonePreset],
plugins: [SwaggerUIBundle.plugins.DownloadUrl],
layout: 'StandaloneLayout',
customCss: `
.swagger-ui .topbar {
background-color: #e2e2e2;
}
.swagger-ui .topbar .topbar-wrapper img {
content: url('https://skupper.io/images/skupper-logo-horizontal.svg');
width: 150px;
height: auto;
}
`,
});

//</editor-fold>
};

0 comments on commit 800ac5a

Please sign in to comment.