Fix broken VNC on dev environment

I made an "oopsie" and hardcoded the port, so now that's configurable,
and also fixed my local .env file.

I should update the README
This commit is contained in:
Will Nilges 2022-08-31 20:20:21 -04:00
parent 4f7655ca6b
commit 737c9f9367

View file

@ -16,10 +16,11 @@ def start_websockify(websockify_path, target_file):
result = subprocess.run(['pgrep', 'websockify'], stdout=subprocess.PIPE)
if not result.stdout:
print("Websockify is stopped. Starting websockify.")
proxstar_port = app.config.get('VNC_PORT')
subprocess.call(
[
websockify_path,
'8081',
proxstar_port,
'--token-plugin',
'TokenFile',
'--token-source',