summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--interface/js/main.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/interface/js/main.js b/interface/js/main.js
index c8254a963..d15f8c99b 100644
--- a/interface/js/main.js
+++ b/interface/js/main.js
@@ -21,6 +21,11 @@ requirejs.config({
}
});
+document.title = window.location.hostname +
+ (window.location.port ? ":" + window.location.port : "") +
+ (window.location.pathname !== "/" ? window.location.pathname : "") +
+ " - Rspamd Web Interface";
+
define("d3.global", ["d3"], function(_) {
d3 = _;
});