forked from cadence/breezewiki
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)
|
(define (redirect-wiki-home req)
|
||||||
(response-handler
|
(response-handler
|
||||||
(define wikiname (path/param-path (car (url-path (request-uri req)))))
|
(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)))
|
(generate-redirect dest)))
|
||||||
|
|
Loading…
Reference in a new issue