DmitrMakeev
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1174,7 +1174,12 @@ def online():
|
|
1174 |
|
1175 |
|
1176 |
|
1177 |
-
|
|
|
|
|
|
|
|
|
|
|
1178 |
|
1179 |
|
1180 |
|
|
|
1174 |
|
1175 |
|
1176 |
|
1177 |
+
@app.route('/crypto', methods=['GET'])
|
1178 |
+
def crypto():
|
1179 |
+
api_sys_control = request.args.get('api_sys')
|
1180 |
+
if api_sys_control != api_key_sys:
|
1181 |
+
return "EUR 22", 200
|
1182 |
+
return render_template('crypto.html')
|
1183 |
|
1184 |
|
1185 |
|