mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00
fix: ttyd https frame (#7548)
This commit is contained in:
parent
1214d8dc98
commit
b01a5f922a
@ -4,7 +4,7 @@
|
||||
<iframe id="terminal" style="width: 100%; min-height: 500px; border: none; border-radius: 3px;"></iframe>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
document.getElementById("terminal").src = "http://" + window.location.hostname + ":7681";
|
||||
document.getElementById("terminal").src = window.location.protocol + "//" + window.location.hostname + ":7681";
|
||||
document.getElementById("terminal").height = document.documentElement.clientHeight;
|
||||
window.onresize = function(){
|
||||
document.getElementById("terminal").height = document.documentElement.clientHeight;
|
||||
|
Loading…
Reference in New Issue
Block a user