Skip to content
Snippets Groups Projects
Commit 48153280 authored by Sebastian Karius's avatar Sebastian Karius
Browse files

dev coder filebrowser module

parent 9a8eb73f
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ variable "owner_name" {
variable "resource_name" {
type = string
default = "main"
description = "The name of the main deployment. (Used to build the subdirectory of the module.)"
}
variable "database_path" {
......
......@@ -18,7 +18,7 @@ if [ "${DB_PATH}" != "filebrowser.db" ]; then
fi
if [ "${OWNER_NAME}" != "" ] && [ "${WORKSPACE_NAME}" != "" ]; then
filebrowser config set --baseurl "/@${OWNER_NAME}/${WORKSPACE_NAME}.${RESOURCE_NAME}/apps/filebrowser"
filebrowser config set --baseurl "/@${OWNER_NAME}/${WORKSPACE_NAME}.${RESOURCE_NAME}/apps/filebrowser" > ${LOG_PATH} 2>&1
fi
printf "📂 Serving $${ROOT_DIR} at http://localhost:${PORT} \n\n"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment