1
0
mirror of https://github.com/fcwu/docker-ubuntu-vnc-desktop synced 2026-08-05 16:12:41 +02:00

fix: autofit resolution if restarting container

This commit is contained in:
Doro Wu
2018-03-08 10:46:59 +08:00
parent b8f8d21f1d
commit 91a76e7196
4 changed files with 23 additions and 0 deletions
+8
View File
@@ -91,6 +91,14 @@ def index():
return HTML_INDEX
@app.route('/api/status')
def status():
global FIRST
return json.dumps({
'default_resolution': FIRST
})
@app.route('/redirect.html')
def redirectme():
global FIRST