mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-10-31 08:12:26 -05:00 
			
		
		
		
	set instead of append url params to ensure no loops on invalid solution
This commit is contained in:
		
					parent
					
						
							
								bfd4d5ab18
							
						
					
				
			
			
				commit
				
					
						7f8153d805
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -45,7 +45,7 @@ document.addEventListener('DOMContentLoaded', function() { | ||||||
| 		if (e.data.done) { | 		if (e.data.done) { | ||||||
| 			console.log('solution found for:', e.data.nonce); | 			console.log('solution found for:', e.data.nonce); | ||||||
| 			let url = new URL(window.location.href); | 			let url = new URL(window.location.href); | ||||||
| 			url.searchParams.append('nollamas_solution', e.data.nonce); | 			url.searchParams.set('nollamas_solution', e.data.nonce); | ||||||
| 			window.location.href = url.toString(); | 			window.location.href = url.toString(); | ||||||
| 		} | 		} | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue