More debug logging
This commit is contained in:
@@ -259,8 +259,10 @@
|
||||
(string->symbol
|
||||
(string-downcase
|
||||
(substring (bytes->string/utf-8 ext-bytes) 1)))))
|
||||
(exists? (file-exists? file-to-serve))
|
||||
)
|
||||
(if (file-exists? file-to-serve)
|
||||
(dbg-webview "file to serve: ~a, ext: ~a, file-exists?: ~a" file-to-serve ext exists?)
|
||||
(if exists?
|
||||
(response/output
|
||||
#:mime-type (string->bytes/utf-8 (mimetype-for-ext ext))
|
||||
#:headers (list (make-sec-header sec-cache))
|
||||
|
||||
Reference in New Issue
Block a user