mirror of
https://github.com/helfrichmichael/prusaslicer-novnc.git
synced 2024-08-30 18:32:27 +00:00
CHANGE: Add a default index.html file that enables autoreconnect and resizing.
Also prefer LF for EOF.
This commit is contained in:
parent
48b821242f
commit
4b076aba8f
2
.gitattributes
vendored
2
.gitattributes
vendored
@ -1,2 +1,2 @@
|
|||||||
# Auto detect text files and perform LF normalization
|
# Auto detect text files and perform LF normalization
|
||||||
* text=auto
|
* text eol=lf
|
@ -76,6 +76,8 @@ ADD entrypoint.sh /entrypoint.sh
|
|||||||
ADD menu.xml /etc/xdg/openbox/
|
ADD menu.xml /etc/xdg/openbox/
|
||||||
ADD supervisord.conf /etc/
|
ADD supervisord.conf /etc/
|
||||||
|
|
||||||
|
# Add a default file to resize, etc for noVNC.
|
||||||
|
ADD vncresize.html /usr/share/novnc/index.html
|
||||||
|
|
||||||
VOLUME /configs/
|
VOLUME /configs/
|
||||||
VOLUME /prints/
|
VOLUME /prints/
|
||||||
|
7
vncresize.html
Normal file
7
vncresize.html
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<script>
|
||||||
|
window.location.replace("./vnc.html?autoconnect=true&resize=remote&reconnect=true&show_dot=true");
|
||||||
|
</script>
|
||||||
|
</head>
|
||||||
|
</html>
|
Loading…
Reference in New Issue
Block a user