Skip to content
Snippets Groups Projects
Commit a4b3aaa3 authored by Clayton, Brandon Scott's avatar Clayton, Brandon Scott
Browse files

update url

parent 4ad69522
No related branches found
No related tags found
1 merge request!23Docker fix
......@@ -11,13 +11,16 @@
<script src="https://unpkg.com/swagger-ui-dist@3/swagger-ui-bundle.js"></script>
<script>
let pathname = window.location.pathname;
pathname = pathname == "/" ? "" : pathname;
SwaggerUIBundle({
url: "./swagger/netcdf-services.yml",
url: `${pathname}/swagger/netcdf-services.yml`,
dom_id: '#swagger-ui',
presets: [
SwaggerUIBundle.presets.apis
]
})
});
</script>
</body>
</html>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment