CHANGE: Add a default index.html file that enables autoreconnect and resizing.

Also prefer LF for EOF.
This commit is contained in:
Mike Helfrich 2024-04-04 11:04:18 -04:00
parent 48b821242f
commit 4b076aba8f
3 changed files with 10 additions and 1 deletions

2
.gitattributes vendored
View File

@ -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

View File

@ -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
View 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>