caddy: fix location from where to serve files

This commit is contained in:
2026-06-22 08:36:57 +02:00
parent f63c603ddb
commit 0d80be4715
+2 -3
View File
@@ -5,9 +5,8 @@
# 2. Redirect without trailing slash to ensure correct routing
redir /fdroid/repo /fdroid/repo/ 302
# 3. Strip '/fdroid/repo' from the URL and serve the underlying files
handle_path /fdroid/repo/* {
root * /repo/fdroid/repo
file_server browse
root * /src/code/fdroid/repo
file_server
}
}