This commit is contained in:
Nemo 2023-03-15 21:14:51 +05:30
parent 6d4172e61c
commit 9d899d0848
1 changed files with 1 additions and 7 deletions

View File

@ -1,14 +1,8 @@
window.onload = function() {
//<editor-fold desc="Changeable Configuration Block">
let url;
if (window.location.hash) {
url = window.location.hash.substr(2)
} else {
url = "reference/Simpl.yaml"
}
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
window.ui = SwaggerUIBundle({
url: url,
url: "reference/Simpl.yaml",
dom_id: '#swagger-ui',
deepLinking: true,
presets: [