mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-04 13:39:01 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			7 lines
		
	
	
		
			174 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
		
			174 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
import { deLocalizeUrl } from '$lib/paraglide/runtime';
 | 
						|
 | 
						|
export const reroute = (request: {
 | 
						|
    url: URL;
 | 
						|
    fetch: typeof fetch;
 | 
						|
}) => deLocalizeUrl(request.url).pathname;
 |