19 lines
581 B
Python
19 lines
581 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": f"{PROJECT_HOST}", # TODO: maybe edit
|
|
"iconUrl": "https://github.com/projscale/assets/blob/main/ton-connect.png?raw=true",
|
|
})
|
|
|
|
|
|
async def s_api_platform_metadata(request):
|
|
return response.json({
|
|
"name": "@MY",
|
|
"image": "https://git.projscale.dev/my-dev/assets/raw/commit/81de5356c6b1d6f01988d77e22c580114b32bcbd/images/logo.jpg"
|
|
})
|