提交 858d11eb 编写于 作者: L LEAN-ESX

luci-app-ttyd: fix luci https support

上级 966951a1
......@@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for ttyd
LUCI_DEPENDS:=+ttyd
LUCI_PKGARCH:=all
PKG_VERSION:=1.0
PKG_RELEASE:=1
PKG_RELEASE:=2
include $(TOPDIR)/feeds/luci/luci.mk
......
......@@ -4,6 +4,6 @@
<iframe id="terminal" style="width: 100%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
</div>
<script type="text/javascript">
document.getElementById("terminal").src = window.location.protocol + "//" + window.location.hostname + ":7681";
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7681";
</script>
<%+footer%>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册