summaryrefslogtreecommitdiff
path: root/example/haunt.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-12-21 14:16:14 +0100
committerDavid Thompson <dthompson@vistahigherlearning.com>2017-12-21 08:51:02 -0500
commite7b1b290b11c4f2c89999fc079278e917f65bca9 (patch)
treeb41942a69a67e9f8c4d9005eb6329fa5186a57e5 /example/haunt.scm
parent4bf24d36f6faf09cdf8eccb05ad9bd7dda81393f (diff)
serve: Fix 'file-extension' so that the right MIME type is chosen.
Reported by sirgazil at <https://lists.gnu.org/archive/html/guile-user/2017-12/msg00070.html>. * haunt/serve/mime-types.scm (%file-ext-regexp): Remove. (file-extension): Rewrite using 'string-rindex'.
Diffstat (limited to 'example/haunt.scm')
0 files changed, 0 insertions, 0 deletions