summaryrefslogtreecommitdiff
path: root/web/ipmi/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/ipmi/index.html')
-rw-r--r--web/ipmi/index.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/ipmi/index.html b/web/ipmi/index.html
index 3471706e..5a13234a 100644
--- a/web/ipmi/index.html
+++ b/web/ipmi/index.html
@@ -38,10 +38,12 @@
<link rel="stylesheet" href="../share/css/main.css">
<link rel="stylesheet" href="../share/css/start.css">
- <script src="../share/js/tools.js"></script>
<script src="../share/js/ipmi/main.js"></script>
- <script>window.onload = main;</script>
+ <script type="module">
+ import {main} from "/share/js/ipmi/main.js";
+ main();
+ </script>
</head>
<body>