mirror of
				https://github.com/nitnelave/lldap.git
				synced 2023-04-12 14:25:13 +00:00 
			
		
		
		
	restore comment
This commit is contained in:
		
							parent
							
								
									1f6d678764
								
							
						
					
					
						commit
						4ff4434db7
					
				@ -74,10 +74,10 @@ fn http_config<Backend>(
 | 
			
		||||
    .service(Files::new("/static", "./app/static"))
 | 
			
		||||
    // Serve static fonts
 | 
			
		||||
    .service(Files::new("/static/fonts", "./app/static/fonts"))
 | 
			
		||||
    // Serve the index
 | 
			
		||||
    // Default to serve index.html for unknown routes, to support routing.
 | 
			
		||||
    .service(
 | 
			
		||||
        web::scope("/")
 | 
			
		||||
            .route("", web::get().to(index))
 | 
			
		||||
            .route("", web::get().to(index)) // this is necessary because the below doesn't match a request for "/"
 | 
			
		||||
            .route(".*", web::get().to(index)),
 | 
			
		||||
    );
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user