Compare commits
	
		
			No commits in common. "ac79f2637353aa43de6433219b9fd9dc7e18b966" and "60190750ec67249f057e57543376b7e0b2bd2b32" have entirely different histories.
		
	
	
		
			ac79f26373
			...
			60190750ec
		
	
		
@ -1,5 +1,5 @@
 | 
			
		||||
[tool.bumpversion]
 | 
			
		||||
current_version = "1.2.9"
 | 
			
		||||
current_version = "1.2.8"
 | 
			
		||||
commit = true
 | 
			
		||||
tag = true
 | 
			
		||||
tag_name = "{new_version}"
 | 
			
		||||
 | 
			
		||||
@ -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"])
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user