Compare commits

...

2 Commits

Author SHA1 Message Date
ac79f26373 Bump version: 1.2.8 → 1.2.9
All checks were successful
Build and Publish Docker Image / build-and-push (push) Successful in 1m34s
2025-07-17 17:30:04 +01:00
d66576b451 last fix 2025-07-17 17:30:02 +01:00
3 changed files with 7 additions and 3 deletions

View File

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

View File

@ -1 +1 @@
1.2.8
1.2.9

View File

@ -156,7 +156,11 @@ def vapid_public_key():
# Join the split lines to remove all whitespace and newlines
base64_key = "".join(match.group(1).split())
return jsonify({"public_key": base64_key})
# Convert to URL-safe base64 for the PushManager API
url_safe_key = base64_key.replace('+', '-').replace('/', '_')
return jsonify({"public_key": url_safe_key})
@api_blueprint.route("/save-subscription", methods=["POST"])