Fix wiki home redirection
This commit is contained in:
		
							parent
							
								
									229ec1ee0c
								
							
						
					
					
						commit
						951a5fe651
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -11,5 +11,5 @@
 | 
			
		|||
(define (redirect-wiki-home req)
 | 
			
		||||
  (response-handler
 | 
			
		||||
   (define wikiname (path/param-path (car (url-path (request-uri req)))))
 | 
			
		||||
   (define dest (format "~a/wiki/Main_Page" wikiname))
 | 
			
		||||
   (define dest (format "/~a/wiki/Main_Page" wikiname))
 | 
			
		||||
   (generate-redirect dest)))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue