Skip to content

Commit

Permalink
fix set header script + make it more robust
Browse files Browse the repository at this point in the history
  • Loading branch information
pranabdas committed Jan 6, 2025
1 parent 4f86b46 commit 3697f33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion set_headers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
if [ -d dist ]; then
cd dist
else
npm run build
npm run build || ( bash plotly-custom-build.sh && npm run build )
cd dist
fi

if [ -f _headers ]; then rm _headers; fi
Expand Down

0 comments on commit 3697f33

Please sign in to comment.