More debug logging

This commit is contained in:
2026-04-12 16:25:41 +02:00
parent 7b12f8282f
commit 1b555da445

View File

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