aboutsummaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorJP Dillingham <jp@dillingham.me>2022-05-07 14:27:53 -0500
committerGitHub <noreply@github.com>2022-05-07 14:27:53 -0500
commit6ac44e4540e5b0bf42f99563b47317add8d22aff (patch)
tree3638bc7683b68b0304c2a7ad32c3c9316b123acf /bin
parent09adf4655f43ab6abeba1d1ac219df94d70c634c (diff)
parent2391114fbcadba7378451c8a066fb466269fdb13 (diff)
downloadslskd-6ac44e4540e5b0bf42f99563b47317add8d22aff.tar.gz
Merge pull request #452 from slskd/routes
Fix UI routing issues
Diffstat (limited to 'bin')
-rwxr-xr-xbin/build16
1 files changed, 7 insertions, 9 deletions
diff --git a/bin/build b/bin/build
index deb26fba..76bad614 100755
--- a/bin/build
+++ b/bin/build
@@ -65,16 +65,14 @@ else
echo $'\n\t🛠️ npm run build\n'
npm run build
- if [ "$web_only" == false ]; then
- # remove old build, but keep .gitkeep
- rm -rf ../slskd/wwwroot
- mkdir ../slskd/wwwroot
- touch ../slskd/wwwroot/.gitkeep
+ # remove old build, but keep .gitkeep
+ rm -rf ../slskd/wwwroot
+ mkdir ../slskd/wwwroot
+ touch ../slskd/wwwroot/.gitkeep
- # copy new files
- echo $'\n\t🛠️ cp -r build/* ../slskd/wwwroot/\n'
- cp -r build/* ../slskd/wwwroot/
- fi
+ # copy new files
+ echo $'\n\t🛠️ cp -r build/* ../slskd/wwwroot/\n'
+ cp -r build/* ../slskd/wwwroot/
cd ../..
fi