music update
All checks were successful
Build and push container image / build-and-push-image (push) Successful in 4m39s
All checks were successful
Build and push container image / build-and-push-image (push) Successful in 4m39s
This commit is contained in:
@@ -8,6 +8,7 @@ import logging
|
||||
|
||||
import src.routes.error_handlers
|
||||
import src.routes.dynamic_routes
|
||||
import src.routes.lastfm
|
||||
|
||||
# Load env
|
||||
load_dotenv()
|
||||
@@ -42,6 +43,7 @@ Session(app)
|
||||
|
||||
# Load routes
|
||||
app.register_blueprint(src.routes.error_handlers.bp, url_prefix='/error')
|
||||
app.register_blueprint(src.routes.lastfm.bp, url_prefix='/lastfm')
|
||||
app.register_blueprint(src.routes.dynamic_routes.bp, url_prefix='/')
|
||||
|
||||
# Generic routes
|
||||
@@ -57,7 +59,6 @@ def favicon():
|
||||
def robots():
|
||||
return send_file('../static/content/other/robots.txt')
|
||||
|
||||
|
||||
# Route for sitemap.xml
|
||||
@app.route('/sitemap.xml')
|
||||
def sitemap():
|
||||
|
||||
Reference in New Issue
Block a user