Skip to content

Commit

Permalink
routing
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-yu committed Nov 2, 2017
1 parent eb5cd49 commit 9c79887
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion server.py
Expand Up @@ -15,7 +15,15 @@ def get_cam():

@app.route('/log')
def get_log():
return send_file('log.txt')
return send_file('bar.txt')

@app.route('/bar')
def get_bar():
return send_file('bar.txt')

@app.route('/restaurant')
def get_restaurant():
return send_file('restaurant.txt')

if __name__ == "__main__":
app.run()

0 comments on commit 9c79887

Please sign in to comment.