mirror of
				https://github.com/superseriousbusiness/gotosocial.git
				synced 2025-11-04 04:02:25 -06:00 
			
		
		
		
	fix oauth url getting too long
This commit is contained in:
		
					parent
					
						
							
								789ff71a08
							
						
					
				
			
			
				commit
				
					
						8893355afb
					
				
			
		
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -129,7 +129,8 @@ function getChanges(state, keys) {
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function getCurrentUrl() {
 | 
					function getCurrentUrl() {
 | 
				
			||||||
	return `${window.location.origin}${window.location.pathname}`;
 | 
						let [pre, _past] = window.location.pathname.split("/settings");
 | 
				
			||||||
 | 
						return `${window.location.origin}${pre}/settings`;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
function fetchInstanceWithoutStore(domain) {
 | 
					function fetchInstanceWithoutStore(domain) {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue