DmitrMakeev
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -1186,6 +1186,16 @@ def builder2_gen():
|
|
1186 |
|
1187 |
|
1188 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1189 |
|
1190 |
|
1191 |
|
|
|
1186 |
|
1187 |
|
1188 |
|
1189 |
+
@app.route('/buil_json', methods=['GET'])
|
1190 |
+
def buil_json_gen():
|
1191 |
+
api_sys_control = request.args.get('api_sys')
|
1192 |
+
if api_sys_control != api_key_sys:
|
1193 |
+
return "EUR 22", 200
|
1194 |
+
return render_template('buil_json.html')
|
1195 |
+
|
1196 |
+
|
1197 |
+
|
1198 |
+
|
1199 |
|
1200 |
|
1201 |
|