fix urkl
This commit is contained in:
parent
6d4172e61c
commit
9d899d0848
|
@ -1,14 +1,8 @@
|
||||||
window.onload = function() {
|
window.onload = function() {
|
||||||
//<editor-fold desc="Changeable Configuration Block">
|
//<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
|
// the following lines will be replaced by docker/configurator, when it runs in a docker-container
|
||||||
window.ui = SwaggerUIBundle({
|
window.ui = SwaggerUIBundle({
|
||||||
url: url,
|
url: "reference/Simpl.yaml",
|
||||||
dom_id: '#swagger-ui',
|
dom_id: '#swagger-ui',
|
||||||
deepLinking: true,
|
deepLinking: true,
|
||||||
presets: [
|
presets: [
|
||||||
|
|
Loading…
Reference in New Issue