changed api link to use api host env var

This commit is contained in:
Corban-Lee Jones 2024-02-07 21:24:28 +00:00
parent edb485a56d
commit ff617b2006

View File

@ -255,7 +255,7 @@ class FeedCog(commands.Cog):
try:
def formatdata(index, item):
key = f"{index}. {item.name}"
value = f"[RSS]({item.url}) · [API](http://localhost:8000/api/rssfeed/{item.uuid}/)"
value = f"[RSS]({item.url}) · [API]({API.RSS_FEED_ENDPOINT}{item.uuid}/)"
return key, value
async def getdata(page):