Compare commits
	
		
			2 Commits
		
	
	
		
			ac79f26373
			...
			6388ca7176
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 6388ca7176 | |||
| 19bfa3e4d6 | 
@ -1,5 +1,5 @@
 | 
			
		||||
[tool.bumpversion]
 | 
			
		||||
current_version = "1.2.9"
 | 
			
		||||
current_version = "1.2.10"
 | 
			
		||||
commit = true
 | 
			
		||||
tag = true
 | 
			
		||||
tag_name = "{new_version}"
 | 
			
		||||
 | 
			
		||||
@ -157,8 +157,8 @@ 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('/', '_')
 | 
			
		||||
    # Convert to URL-safe base64 and remove padding for the PushManager API
 | 
			
		||||
    url_safe_key = base64_key.replace('+', '-').replace('/', '_').rstrip('=')
 | 
			
		||||
    
 | 
			
		||||
    return jsonify({"public_key": url_safe_key})
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user