Comparar comentimentos
2 Cometimentos
60190750ec
...
ac79f26373
| Autor(a) | SHA1 | Data | |
|---|---|---|---|
| ac79f26373 | |||
| d66576b451 |
@ -1,5 +1,5 @@
|
|||||||
[tool.bumpversion]
|
[tool.bumpversion]
|
||||||
current_version = "1.2.8"
|
current_version = "1.2.9"
|
||||||
commit = true
|
commit = true
|
||||||
tag = true
|
tag = true
|
||||||
tag_name = "{new_version}"
|
tag_name = "{new_version}"
|
||||||
|
|||||||
2
VERSION
2
VERSION
@ -1 +1 @@
|
|||||||
1.2.8
|
1.2.9
|
||||||
@ -156,7 +156,11 @@ def vapid_public_key():
|
|||||||
|
|
||||||
# Join the split lines to remove all whitespace and newlines
|
# Join the split lines to remove all whitespace and newlines
|
||||||
base64_key = "".join(match.group(1).split())
|
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"])
|
@api_blueprint.route("/save-subscription", methods=["POST"])
|
||||||
|
|||||||
Carregando…
x
Criar uma nova questão referindo esta
Bloquear um utilizador