Compare commits

..

No commits in common. "ac79f2637353aa43de6433219b9fd9dc7e18b966" and "60190750ec67249f057e57543376b7e0b2bd2b32" have entirely different histories.

3 changed files with 3 additions and 7 deletions

View File

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

View File

@ -1 +1 @@
1.2.9
1.2.8

View File

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