changed api link to use api host env var
This commit is contained in:
parent
edb485a56d
commit
ff617b2006
@ -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):
|
||||
|
Loading…
x
Reference in New Issue
Block a user