Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,9 +17,9 @@ def main():
|
|
| 17 |
files = os.listdir('.')
|
| 18 |
return f'a very nice page, you must admit, heres a list of files: {files}'
|
| 19 |
|
| 20 |
-
@app.route('/
|
| 21 |
def apirequests():
|
| 22 |
-
#
|
| 23 |
# this code filters the id out V
|
| 24 |
full_query = request.query_string.decode('utf-8')
|
| 25 |
if full_query.startswith('='):
|
|
|
|
| 17 |
files = os.listdir('.')
|
| 18 |
return f'a very nice page, you must admit, heres a list of files: {files}'
|
| 19 |
|
| 20 |
+
@app.route('/servo')
|
| 21 |
def apirequests():
|
| 22 |
+
# servo?=1,3
|
| 23 |
# this code filters the id out V
|
| 24 |
full_query = request.query_string.decode('utf-8')
|
| 25 |
if full_query.startswith('='):
|