File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change 1- #! /usr/bin/env bash
1+ #! /usr/bin/env bash
22source <( curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func)
33# Copyright (c) 2021-2025 community-scripts ORG
44# Author: vhsdream
@@ -42,14 +42,12 @@ function update_script() {
4242 export FRONTEND_FILES_DIR=" ${MM_DIR} /web/build"
4343 export BASE_PATH=" "
4444 export PUBLIC_VERSION=" "
45- export PUBLIC_API_URL=" ${BASE_PATH} /api/v1"
46- export BASE_PATH=" ${BASE_PATH} /web"
45+ export PUBLIC_API_URL=" "
4746 cd /opt/mediamanager/web
4847 $STD npm ci
4948 $STD npm run build
5049 rm -rf " $FRONTEND_FILES_DIR " /build
5150 cp -r build " $FRONTEND_FILES_DIR "
52- export BASE_PATH=" "
5351 export VIRTUAL_ENV=" /opt/${MM_DIR} /venv"
5452 cd /opt/mediamanager
5553 rm -rf " $MM_DIR " /{media_manager,alembic* }
Original file line number Diff line number Diff line change @@ -47,14 +47,13 @@ export CONFIG_DIR="${MM_DIR}/config"
4747export FRONTEND_FILES_DIR=" ${MM_DIR} /web/build"
4848export BASE_PATH=" "
4949export PUBLIC_VERSION=" "
50- export PUBLIC_API_URL=" ${BASE_PATH} /api/v1 "
51- export BASE_PATH=" ${BASE_PATH} /web "
50+ export PUBLIC_API_URL=" "
51+ export BASE_PATH=" "
5252cd /opt/mediamanager/web
5353$STD npm ci
5454$STD npm run build
5555mkdir -p {" $MM_DIR " /web," $MEDIA_DIR " ," $CONFIG_DIR " }
5656cp -r build " $FRONTEND_FILES_DIR "
57- export BASE_PATH=" "
5857export VIRTUAL_ENV=" ${MM_DIR} /venv"
5958cd /opt/mediamanager
6059cp -r {media_manager,alembic* } " $MM_DIR "
You can’t perform that action at this time.
0 commit comments