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:
parent
2739707f97
commit
66469836be
|
@ -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/*
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue