Update app.py
Browse files
app.py
CHANGED
|
@@ -1192,7 +1192,7 @@ ADMIN_TEMPLATE = """
|
|
| 1192 |
|
| 1193 |
TON_MANIFEST_TEMPLATE = """
|
| 1194 |
{
|
| 1195 |
-
"url": "
|
| 1196 |
"name": "Morshen Group TMA",
|
| 1197 |
"iconUrl": "https://huggingface.co/spaces/Aleksmorshen/Telemap8/resolve/main/morshengroup.jpg"
|
| 1198 |
}
|
|
@@ -1344,9 +1344,8 @@ def admin_trigger_upload():
|
|
| 1344 |
|
| 1345 |
@app.route('/tonconnect-manifest.json')
|
| 1346 |
def tonconnect_manifest():
|
| 1347 |
-
app_url = request.url_root
|
| 1348 |
return Response(
|
| 1349 |
-
render_template_string(TON_MANIFEST_TEMPLATE
|
| 1350 |
mimetype='application/json'
|
| 1351 |
)
|
| 1352 |
|
|
|
|
| 1192 |
|
| 1193 |
TON_MANIFEST_TEMPLATE = """
|
| 1194 |
{
|
| 1195 |
+
"url": "https://huggingface.co/spaces/Aleksmorshen/MorshenGroup",
|
| 1196 |
"name": "Morshen Group TMA",
|
| 1197 |
"iconUrl": "https://huggingface.co/spaces/Aleksmorshen/Telemap8/resolve/main/morshengroup.jpg"
|
| 1198 |
}
|
|
|
|
| 1344 |
|
| 1345 |
@app.route('/tonconnect-manifest.json')
|
| 1346 |
def tonconnect_manifest():
|
|
|
|
| 1347 |
return Response(
|
| 1348 |
+
render_template_string(TON_MANIFEST_TEMPLATE),
|
| 1349 |
mimetype='application/json'
|
| 1350 |
)
|
| 1351 |
|