mirror of
https://github.com/PotentiaRobotics/robot-gui.git
synced 2025-04-09 14:20:16 -04:00
Added route for automatic mode
This commit is contained in:
parent
07ba4aed5b
commit
201814e362
6
app.py
6
app.py
|
@ -15,10 +15,14 @@ css.build()
|
|||
@app.route("/")
|
||||
def homepage():
|
||||
return render_template("index.html")
|
||||
|
||||
#Route for manual mode
|
||||
@app.route("/tw")
|
||||
def tw():
|
||||
return render_template("tw.html")
|
||||
#Route for automatic mode
|
||||
@app.route("/auto")
|
||||
def auto():
|
||||
return render_template("auto.html")
|
||||
|
||||
#Modify to get data
|
||||
@app.route('/api/datapoint')
|
||||
|
|
Loading…
Reference in New Issue
Block a user