feat: Add link to listing

This commit is contained in:
2025-07-18 12:38:57 +10:00
parent 06d6ee562d
commit 88f9c07f72

View File

@@ -64,7 +64,7 @@ def domain_info(params, authentication):
if domainType == "marketplace": if domainType == "marketplace":
score = data["data"].get("score", "No score available") score = data["data"].get("score", "No score available")
price = data["data"].get("price", "No price available") price = data["data"].get("price", "No price available")
return {"info": f"<h2>Score {score}<br>Price {price}</h2>"} return {"info": f"<h4>Score: {score}<br>Price: {price}</h4><br><a href='https://shakestation.io/domain/{domain}'>View Listing</a>"}