Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
luci-app-ttyd: fix luci https support
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf committed Oct 20, 2019
1 parent 966951a commit 858d11e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package/lean/luci-app-ttyd/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion package/lean/luci-app-ttyd/luasrc/view/terminal.htm
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ <h2 name="content"><%=translate("TTYD Terminal")%></h2>
<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%>

0 comments on commit 858d11e

Please sign in to comment.