about summary refs log tree commit diff
path: root/ennum.el
diff options
context:
space:
mode:
authorArun Isaac2026-08-07 19:55:29 +0100
committerArun Isaac2026-08-07 19:55:29 +0100
commitea85301da18a374f7f8eab7112e921f6d49ad887 (patch)
treefcdf050db762999499a49c2f5559d123f1945ed3 /ennum.el
parentec9d2aac8187d131901bab357da8efeedc8fff3e (diff)
downloadennum-ea85301da18a374f7f8eab7112e921f6d49ad887.tar.gz
ennum-ea85301da18a374f7f8eab7112e921f6d49ad887.tar.lz
ennum-ea85301da18a374f7f8eab7112e921f6d49ad887.zip
Explicitly pass root to httpd-gen-path.
Since simple-httpd 1.6, httpd-gen-path requires an explicit root
argument. It no longer uses httpd-root.
Diffstat (limited to 'ennum.el')
-rw-r--r--ennum.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/ennum.el b/ennum.el
index 5d44551..b64d8bf 100644
--- a/ennum.el
+++ b/ennum.el
@@ -917,7 +917,7 @@ as keys. Keys are compared using `equal'."
                                      (ennum-setting :working-directory)))
   (defun httpd/ (proc uri-path _query request)
     (let* ((uri-path (httpd-unhex uri-path))
-           (file-path (httpd-gen-path uri-path)))
+           (file-path (httpd-gen-path uri-path httpd-root)))
       (cond
        ;; If a HTML file other than index.html was requested, reject
        ;; that request.