fix(fireshare): rebuild client on update to fix nginx 500 (#14848)

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Michel Roegl-Brunner
2026-06-01 15:59:05 +02:00
committed by GitHub
parent 465996653a
commit e013403db1

View File

@@ -53,6 +53,12 @@ function update_script() {
export VIDEO_DIRECTORY=/opt/fireshare-videos
export PROCESSED_DIRECTORY=/opt/fireshare-processed
$STD uv run flask db upgrade
msg_info "Building Fireshare Client"
cd /opt/fireshare/app/client
$STD npm install
$STD npm run build
msg_ok "Built Fireshare Client"
msg_ok "Updated Fireshare"
msg_info "Starting Service"