mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-06-17 08:55:29 +08:00
luci-app-ttyd: fix luci https support
This commit is contained in:
parent
966951a170
commit
858d11ebc2
@ -9,7 +9,7 @@ LUCI_TITLE:=LuCI support for ttyd
|
|||||||
LUCI_DEPENDS:=+ttyd
|
LUCI_DEPENDS:=+ttyd
|
||||||
LUCI_PKGARCH:=all
|
LUCI_PKGARCH:=all
|
||||||
PKG_VERSION:=1.0
|
PKG_VERSION:=1.0
|
||||||
PKG_RELEASE:=1
|
PKG_RELEASE:=2
|
||||||
|
|
||||||
include $(TOPDIR)/feeds/luci/luci.mk
|
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>
|
<iframe id="terminal" style="width: 100%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
|
||||||
</div>
|
</div>
|
||||||
<script type="text/javascript">
|
<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>
|
</script>
|
||||||
<%+footer%>
|
<%+footer%>
|
Loading…
x
Reference in New Issue
Block a user