diff --git a/.gitignore b/.gitignore index b5e5930..9b1253d 100644 --- a/.gitignore +++ b/.gitignore @@ -18,3 +18,5 @@ old/ requirements.txt package-lock.json video/ +scss/bs5/*.css* +scss/bs4/*.css* diff --git a/jellyfin_accounts/__init__.py b/jellyfin_accounts/__init__.py index 7956b48..8122f28 100755 --- a/jellyfin_accounts/__init__.py +++ b/jellyfin_accounts/__init__.py @@ -1,5 +1,5 @@ #!/usr/bin/env python3 -__version__ = "0.3.0" +__version__ = "0.3.1" import secrets import configparser diff --git a/jellyfin_accounts/web.py b/jellyfin_accounts/web.py index 43b9fcd..f8f5ea2 100644 --- a/jellyfin_accounts/web.py +++ b/jellyfin_accounts/web.py @@ -39,7 +39,11 @@ def static_proxy(path): bsVersion = 5 else: bsVersion = 4 - return render_template("admin.js", bsVersion=bsVersion) + return ( + render_template("admin.js", bsVersion=bsVersion), + 200, + {"Content-Type": "text/javascript"}, + ) return app.send_static_file(path) return ( render_template( diff --git a/pyproject.toml b/pyproject.toml index 2fb55fd..294f289 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "jellyfin-accounts" -version = "0.3.0" +version = "0.3.1" readme = "README.md" description = "A simple account management system for Jellyfin" authors = ["Harvey Tindall "]