diff --git a/occlusion-mapper/occlusion_mapper.py b/occlusion-mapper/occlusion_mapper.py index 00abe75..3736b7c 100644 --- a/occlusion-mapper/occlusion_mapper.py +++ b/occlusion-mapper/occlusion_mapper.py @@ -42,7 +42,11 @@ def __init__( @self.app.route("/camera.js") def hello_world(): return f'var camera_ip = "{self.camera_ip}";' - + + # Set the default entrance point to 'index.html' + @app.route('/') + def index(): + return send_from_directory('static', 'index.html') # self.app.run(host="0.0.0.0", debug=True, port=5000) # Connect client in constructor