19 lines
523 B
Python
19 lines
523 B
Python
from sanic import response
|
|
|
|
from app.core._config import PROJECT_HOST
|
|
|
|
|
|
async def s_api_tonconnect_manifest(request):
|
|
return response.json({
|
|
"url": f"{PROJECT_HOST}/#from=tonconnect",
|
|
"name": "@MY Node",
|
|
"iconUrl": "https://github.com/projscale/my-assets/blob/main/ton-connect.png?raw=true",
|
|
})
|
|
|
|
|
|
async def s_api_platform_metadata(request):
|
|
return response.json({
|
|
"name": "@MY",
|
|
"image": "https://github.com/projscale/my-assets/blob/main/ton-connect.png?raw=true"
|
|
})
|