From 550723b602a0b30383c1663baabf13b0a355783a Mon Sep 17 00:00:00 2001 From: Yves ANDOLFATTO <145037627+yandolfat@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:39:52 +0200 Subject: [PATCH] fix(filebrowser): support custom base_url in case of custom db path --- filebrowser/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filebrowser/run.sh b/filebrowser/run.sh index 22f13ed..8a31d4d 100644 --- a/filebrowser/run.sh +++ b/filebrowser/run.sh @@ -18,7 +18,7 @@ if [ "${DB_PATH}" != "filebrowser.db" ]; then fi # set baseurl to be able to run if sudomain=false; if subdomain=true the SERVER_BASE_PATH value will be "" -filebrowser config set --baseurl "${SERVER_BASE_PATH}" > ${LOG_PATH} 2>&1 +filebrowser config set --baseurl "${SERVER_BASE_PATH}"$${DB_FLAG} > ${LOG_PATH} 2>&1 printf "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n"