Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1126,7 +1126,12 @@ def bas_pages_gen():
|
|
| 1126 |
return "EUR 22", 200
|
| 1127 |
return render_template('pages_gen.html')
|
| 1128 |
|
| 1129 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1130 |
|
| 1131 |
|
| 1132 |
|
|
|
|
| 1126 |
return "EUR 22", 200
|
| 1127 |
return render_template('pages_gen.html')
|
| 1128 |
|
| 1129 |
+
@app.route('/koleso', methods=['GET'])
|
| 1130 |
+
def koleso_gen():
|
| 1131 |
+
api_sys_control = request.args.get('api_sys')
|
| 1132 |
+
if api_sys_control != api_key_sys:
|
| 1133 |
+
return "EUR 22", 200
|
| 1134 |
+
return render_template('koleso.html')
|
| 1135 |
|
| 1136 |
|
| 1137 |
|