mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-03 20:13:02 +00:00
add update profile logic
This commit is contained in:
@@ -53,7 +53,6 @@ def verify_auth():
|
||||
"""
|
||||
Verifies the JWT token before each request.
|
||||
"""
|
||||
print(request.path)
|
||||
if request.path == "/" or any(
|
||||
request.path.endswith(ext) for ext in blacklist_extensions
|
||||
):
|
||||
@@ -66,8 +65,7 @@ def verify_auth():
|
||||
)
|
||||
return
|
||||
|
||||
data = verify_jwt_in_request()
|
||||
print(data)
|
||||
verify_jwt_in_request()
|
||||
|
||||
|
||||
@app.route("/<path:path>")
|
||||
|
||||
Reference in New Issue
Block a user