break down the api blueprint into smaller blueprints

This commit is contained in:
geoffrey45
2022-03-20 16:29:31 +03:00
parent 1908633f9d
commit e889d0ef55
24 changed files with 460 additions and 336 deletions
+2 -2
View File
@@ -114,6 +114,6 @@ def check_artist_image(image: str) -> str:
img_name = image.replace("/", "::") + ".webp"
if not os.path.exists(os.path.join(app_dir, "images", "artists", img_name)):
return "http://0.0.0.0:8900/images/artists/0.webp"
return "http://10.5.8.182:8900/images/artists/0.webp"
else:
return ("http://0.0.0.0:8900/images/artists/" + img_name,)
return ("http://10.5.8.182:8900/images/artists/" + img_name,)