Bundle families frontend and billing data
This commit is contained in:
2
start.sh
2
start.sh
@@ -666,6 +666,7 @@ sync_dir "$APP_DIR/server/migrations" "$MUSEUM_RUNTIME_DIR/migrations"
|
||||
sync_dir "$APP_DIR/server/web-templates" "$MUSEUM_RUNTIME_DIR/web-templates"
|
||||
sync_dir "$APP_DIR/server/mail-templates" "$MUSEUM_RUNTIME_DIR/mail-templates"
|
||||
sync_dir "$APP_DIR/server/assets" "$MUSEUM_RUNTIME_DIR/assets"
|
||||
sync_dir "$APP_DIR/data" "$MUSEUM_RUNTIME_DIR/data"
|
||||
|
||||
if [ ! -x "$MUSEUM_BIN" ]; then
|
||||
log ERROR "Museum binary not found at $MUSEUM_BIN"
|
||||
@@ -894,6 +895,7 @@ if [ -d "$WEB_RUNTIME_DIR" ]; then
|
||||
log INFO "Rewriting frontend endpoints for local deployment"
|
||||
FRONTEND_REPLACEMENTS=(
|
||||
"ENTE_API_ORIGIN_PLACEHOLDER|$API_ORIGIN"
|
||||
"ENTE_WEB_ENDPOINT_PLACEHOLDER|$PHOTOS_URL"
|
||||
"https://api.ente.io|$API_ORIGIN"
|
||||
"https://accounts.ente.io|$ACCOUNTS_URL"
|
||||
"https://auth.ente.io|$AUTH_URL"
|
||||
|
||||
Reference in New Issue
Block a user