fix: Use list to allow for html formatting

This commit is contained in:
2025-03-07 15:13:58 +11:00
parent 73a8708b0f
commit aed2cf52b1

View File

@@ -88,7 +88,7 @@ functions = {
"url":
{
"name": "Login URL",
"type": "text"
"type": "list"
}
}
}
@@ -331,4 +331,4 @@ def edit(params, authentication):
if 'result' not in response:
return {"status": "Error signing message"}
signature = response["result"]
return {"url": f"https://links.hns.au/auth?username={domain}&signature={signature}"}
return {"url": [f"<a href=https://links.hns.au/auth?username={domain}&signature={signature} target='_blank'>Edit HNS Links</a>"]}