返回提交历史
Modified
static/webui/index.html
+7
-0
XFEstudio/XFESpaceNinjaServer
chore(webui): handle index.html being opened as a file (#1329)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1329
82216740
代码差异
1 个文件
+7
-0
@@ -619,5 +619,12 @@
619
619
<script src="/webui/riven-tool/RivenParser.js"></script>
620
620
<script src="/webui/script.js"></script>
621
621
<script src="/webui/libs/bootstrap.bundle.min.js"></script>
622
<script>
623
setTimeout(function() {
624
if (location.protocol == "file:") {
625
document.write("You can access the WebUI via http://localhost/ when SpaceNinjaServer is running.");
626
}
627
}, 1);
628
</script>
622
629
</body>
623
630
</html>