Skip to content

Commit

Permalink
static files?
Browse files Browse the repository at this point in the history
  • Loading branch information
robotastic committed Mar 5, 2024
1 parent e3659cb commit a00d23e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion occlusion-mapper/occlusion_mapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a00d23e

Please sign in to comment.