File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -21,13 +21,10 @@ if [ "${DB_PATH}" != "filebrowser.db" ]; then
2121 DB_FLAG=" -d ${DB_PATH} "
2222fi
2323
24- # set baseurl to be able to run if sudomain=false; if subdomain=true the SERVER_BASE_PATH value will be ""
25- filebrowser config set --baseurl " ${SERVER_BASE_PATH} " $$ {DB_FLAG} > ${LOG_PATH} 2>&1
26-
2724printf " 📂 Serving $$ {ROOT_DIR} at http://localhost:${PORT} \n\n"
2825
2926printf " Running 'filebrowser --noauth --root $ROOT_DIR --port ${PORT} $$ {DB_FLAG}' \n\n"
3027
31- filebrowser --noauth --root $ROOT_DIR --port ${PORT} $$ {DB_FLAG} > ${LOG_PATH} 2>&1 &
28+ filebrowser --noauth --root $ROOT_DIR --port ${PORT} $$ {DB_FLAG} -b ${SERVER_BASE_PATH} > ${LOG_PATH} 2>&1 &
3229
3330printf " 📝 Logs at ${LOG_PATH} \n\n"
You can’t perform that action at this time.
0 commit comments