From 4b076aba8f727256ce659a33cf2e63d2eac9c346 Mon Sep 17 00:00:00 2001 From: Mike Helfrich Date: Thu, 4 Apr 2024 11:04:18 -0400 Subject: [PATCH] CHANGE: Add a default index.html file that enables autoreconnect and resizing. Also prefer LF for EOF. --- .gitattributes | 2 +- Dockerfile | 2 ++ vncresize.html | 7 +++++++ 3 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 vncresize.html diff --git a/.gitattributes b/.gitattributes index dfe0770..4bb50dc 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,2 +1,2 @@ # Auto detect text files and perform LF normalization -* text=auto +* text eol=lf \ No newline at end of file diff --git a/Dockerfile b/Dockerfile index 6a191a6..3e0c960 100644 --- a/Dockerfile +++ b/Dockerfile @@ -76,6 +76,8 @@ ADD entrypoint.sh /entrypoint.sh ADD menu.xml /etc/xdg/openbox/ ADD supervisord.conf /etc/ +# Add a default file to resize, etc for noVNC. +ADD vncresize.html /usr/share/novnc/index.html VOLUME /configs/ VOLUME /prints/ diff --git a/vncresize.html b/vncresize.html new file mode 100644 index 0000000..698da50 --- /dev/null +++ b/vncresize.html @@ -0,0 +1,7 @@ + + + + + \ No newline at end of file