DmitrMakeev commited on
Commit
8d0204f
·
verified ·
1 Parent(s): cdfce2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -1
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