add comment re: url->path behavior

pull/9/head
Matthew Butterick 10 years ago
parent b0d48526d2
commit 1537a32cc9

@ -212,8 +212,8 @@
(define base (world:current-project-root))
(define file (url->path (request-uri req)))
(if (eq? (system-path-convention-type) 'windows)
(build-path base file)
(reroot-path file base)))
(build-path base file) ; because url->path returns a relative path for 'windows
(reroot-path file base))) ; and a complete path for 'unix
;; default route
(define (route-default req)

Loading…
Cancel
Save