Compare commits

...

2 Commits

Author SHA1 Message Date
af30d19f06 Bump version: 1.2.6 → 1.2.7
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m33s
2025-07-17 17:08:21 +01:00
2642dde345 notification fix 2025-07-17 17:08:14 +01:00
3 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
[tool.bumpversion]
current_version = "1.2.6"
current_version = "1.2.7"
commit = true
tag = true
tag_name = "{new_version}"

View File

@ -1 +1 @@
1.2.6
1.2.7

View File

@ -148,8 +148,8 @@ def login_route(username: str, password: str) -> Response:
def vapid_public_key():
"""Provides the VAPID public key."""
public_key = current_app.config["VAPID_PUBLIC_KEY"]
# Clean up the key
public_key = public_key.replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").strip()
# Clean up the key by removing headers, footers, and all whitespace
public_key = "".join(public_key.replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").split())
return jsonify({"public_key": public_key})