mirror of
https://github.com/ZuneDev/PyZuneImageCatalogServer.git
synced 2026-07-27 13:12:06 -07:00
Added default route
This commit is contained in:
@@ -33,6 +33,11 @@ def allow_zunestk_cors(response):
|
||||
return response
|
||||
|
||||
|
||||
@app.route("/")
|
||||
def default():
|
||||
return Response("Welcome to the Social", mimetype="text/plain")
|
||||
|
||||
|
||||
@app.route(f"/v3.2/<string:locale>/image/<string:mbid>")
|
||||
def get_image(mbid: str, locale: str):
|
||||
# The Cover Art Archive API supports sizes of 250, 500, and 1200
|
||||
|
||||
Reference in New Issue
Block a user