fix sub argument to send-main-page
svn: r10108
This commit is contained in:
parent
3f17e8df5e
commit
a50e7011ea
|
@ -8,7 +8,7 @@
|
|||
;; Almost nothing to do here -- the real work is done in the browser,
|
||||
;; using javascript.
|
||||
|
||||
(define (send-main-page #:sub [sub #f]
|
||||
(define (send-main-page #:sub [sub "index.html"]
|
||||
#:fragment [fragment #f] #:query [query #f])
|
||||
(let* ([path (build-path (find-user-doc-dir) sub)]
|
||||
[path (if (file-exists? path) path (build-path (find-doc-dir) sub))])
|
||||
|
|
Loading…
Reference in New Issue
Block a user