aboutsummaryrefslogtreecommitdiffstats
path: root/web_src/js/standalone/swagger.js
diff options
context:
space:
mode:
Diffstat (limited to 'web_src/js/standalone/swagger.js')
-rw-r--r--web_src/js/standalone/swagger.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/web_src/js/standalone/swagger.js b/web_src/js/standalone/swagger.js
index 3378bfbab8..55cc1ab78c 100644
--- a/web_src/js/standalone/swagger.js
+++ b/web_src/js/standalone/swagger.js
@@ -1,5 +1,5 @@
-import SwaggerUI from 'swagger-ui';
-import 'swagger-ui/dist/swagger-ui.css';
+import SwaggerUI from 'swagger-ui-dist/swagger-ui-es-bundle.js';
+import 'swagger-ui-dist/swagger-ui.css';
window.addEventListener('load', async () => {
const url = document.getElementById('swagger-ui').dataset.source;