added cdn url to metadata api

This commit is contained in:
tianyi 2024-04-30 06:16:22 +00:00
parent 92e67aca0b
commit e466466e04
1 changed files with 1 additions and 0 deletions

View File

@ -9,6 +9,7 @@ def get_random_picture_url():
def get_random_picture_meta(): def get_random_picture_meta():
return { return {
"name":pics[0].name, "name":pics[0].name,
"url":"https://cdn.clf3.org/tianyi-random/"+pics[0].name+".webp",
"description":pics[0].description, "description":pics[0].description,
"author":pics[0].author, "author":pics[0].author,
"author_url":pics[0].author_url, "author_url":pics[0].author_url,