summaryrefslogtreecommitdiff
path: root/web/share/js/ipmi
diff options
context:
space:
mode:
Diffstat (limited to 'web/share/js/ipmi')
-rw-r--r--web/share/js/ipmi/main.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/web/share/js/ipmi/main.js b/web/share/js/ipmi/main.js
index 7aa8b0cb..ff3032f5 100644
--- a/web/share/js/ipmi/main.js
+++ b/web/share/js/ipmi/main.js
@@ -20,12 +20,15 @@
*****************************************************************************/
+"use strict";
+
+
import {$} from "../tools.js";
export function main() {
let host = window.location.hostname;
- let site = window.location.protocol + "//" + window.location.host;
+ let site = `${window.location.protocol}//${window.location.host}`;
$("ipmi-text").innerHTML = `
<span class="code-comment"># Power on the server if it's off:<br>
$</span> ipmitool -I lanplus -U admin -P admin -H ${host} power on<br>