diff options
| -rw-r--r-- | authentication/utils.py | 2 | ||||
| -rw-r--r-- | templates/watch/watch.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/authentication/utils.py b/authentication/utils.py index ac0364e..ba4fa95 100644 --- a/authentication/utils.py +++ b/authentication/utils.py @@ -185,7 +185,7 @@ def authenticate_user(exchange_response): "discord_refresh_token": refresh_token, "discord_token_type": token_type, "discord_username": discord_user["username"], - "discord_avatar": discord_user["avatar"], + "discord_avatar": discord_user["avatar"] if discord_user["avatar"] is not None else "", "discord_banner": discord_user["banner"] if discord_user["banner"] is not None else "", "discord_global_name": discord_user["global_name"], "discord_guild_name": discord_user["guild_name"], diff --git a/templates/watch/watch.html b/templates/watch/watch.html index d48196c..0d086c3 100644 --- a/templates/watch/watch.html +++ b/templates/watch/watch.html @@ -898,7 +898,7 @@ const layout = new VidstackPlayerLayout({ {% for track in streaming_data.tracks %} {% if track.kind == 'thumbnails' %} - thumbnails: "{{ track.file }}", + thumbnails: "https://proxy-worker.bobbyskhs.workers.dev?url={{ track.file }}", {% endif %} {% endfor %} }); |
