Fix Lemmy Caddy config static path handling

Due to lemmy-ui using a sub-path for the static files, the original static path handling was not sufficient
This commit is contained in:
Freakmiko 2023-08-16 21:39:11 +02:00 committed by Yt
parent 2739707f97
commit 66469836be

View file

@ -160,6 +160,10 @@ in
root * ${cfg.ui.package}/dist
file_server
}
handle_path /static/undefined/* {
root * ${cfg.ui.package}/dist
file_server
}
@for_backend {
path /api/* /pictrs/* /feeds/* /nodeinfo/*
}