forked from cadence/breezewiki
idfk
This commit is contained in:
parent
5fb7301ce1
commit
0148c1c3f9
1 changed files with 34 additions and 32 deletions
|
@ -72,7 +72,6 @@
|
|||
))
|
||||
|
||||
(define (page-file req)
|
||||
(response-handler
|
||||
(define wikiname (path/param-path (first (url-path (request-uri req)))))
|
||||
(define prefixed-title (path/param-path (caddr (url-path (request-uri req)))))
|
||||
(define origin (format "https://~a.fandom.com" wikiname))
|
||||
|
@ -91,7 +90,10 @@
|
|||
(easy:response-json dest-res)]
|
||||
[license (license-auto wikiname)])
|
||||
|
||||
(define title (jp "/fileTitle" page-data media-detail)))
|
||||
(if (not (jp "/exists" media-detail #f))
|
||||
(next-dispatcher)
|
||||
(response-handler
|
||||
(define title (jp "/fileTitle" media-detail)))
|
||||
(define body (generate-results-page
|
||||
#:source-url source-url
|
||||
#:wikiname wikiname
|
||||
|
|
Loading…
Reference in a new issue