Fix wiki home redirection

This commit is contained in:
Cadence Ember 2022-09-09 23:41:33 +12:00
parent 229ec1ee0c
commit 951a5fe651
Signed by: cadence
GPG Key ID: BC1C2C61CF521B17
1 changed files with 1 additions and 1 deletions

View File

@ -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)))