Skip to content

Commit e013403

Browse files
fix(fireshare): rebuild client on update to fix nginx 500 (#14848)
Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 4659966 commit e013403

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

ct/fireshare.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,12 @@ function update_script() {
5353
export VIDEO_DIRECTORY=/opt/fireshare-videos
5454
export PROCESSED_DIRECTORY=/opt/fireshare-processed
5555
$STD uv run flask db upgrade
56+
57+
msg_info "Building Fireshare Client"
58+
cd /opt/fireshare/app/client
59+
$STD npm install
60+
$STD npm run build
61+
msg_ok "Built Fireshare Client"
5662
msg_ok "Updated Fireshare"
5763

5864
msg_info "Starting Service"

0 commit comments

Comments
 (0)