Skip to content

Commit

Permalink
Merge pull request #251 from MadAppGang/fix-admin-build
Browse files Browse the repository at this point in the history
Fix admin build by adding config.json
  • Loading branch information
erudenko authored Oct 20, 2021
2 parents e02fe39 + b84cb3b commit 2e183c5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion web_apps_src/update-admin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,5 @@ npm i
export BASE_URL=/adminpanel/ && export ASSETS_PATH=/adminpanel/ # Needed for build.
npm run build
rm -rf ../../static/admin_panel
cp -r ./build ../../static/admin_panel
cp -r ./build ../../static/admin_panel
echo "{\"apiUrl\": \"/admin\"}" > ../../static/admin_panel/config.json

0 comments on commit 2e183c5

Please sign in to comment.