Compare commits
No commits in common. "af30d19f06c483863adaa21b5487dfda917d6d46" and "b25e9af1d52b6a6a82c9e7d0cbcc24d00df5663e" have entirely different histories.
af30d19f06
...
b25e9af1d5
@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "1.2.7"
|
current_version = "1.2.6"
|
||||||
commit = true
|
commit = true
|
||||||
tag = true
|
tag = true
|
||||||
tag_name = "{new_version}"
|
tag_name = "{new_version}"
|
||||||
|
@ -148,8 +148,8 @@ def login_route(username: str, password: str) -> Response:
|
|||||||
def vapid_public_key():
|
def vapid_public_key():
|
||||||
"""Provides the VAPID public key."""
|
"""Provides the VAPID public key."""
|
||||||
public_key = current_app.config["VAPID_PUBLIC_KEY"]
|
public_key = current_app.config["VAPID_PUBLIC_KEY"]
|
||||||
# Clean up the key by removing headers, footers, and all whitespace
|
# Clean up the key
|
||||||
public_key = "".join(public_key.replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").split())
|
public_key = public_key.replace("-----BEGIN PUBLIC KEY-----", "").replace("-----END PUBLIC KEY-----", "").strip()
|
||||||
return jsonify({"public_key": public_key})
|
return jsonify({"public_key": public_key})
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user