docker/init.sh: Remove unused code

This code has no effect because string `master` does not exist in `api/backend-info.ts`.
This commit is contained in:
Erik Arvstedt 2022-07-13 12:44:34 +02:00
parent be72c5109a
commit 19bb8988f8
No known key found for this signature in database
GPG key ID: 33312B944DD97846

View file

@ -1,10 +1,7 @@
#!/bin/sh
#backend
gitMaster="\.\.\/\.git\/refs\/heads\/master"
git ls-remote https://github.com/mempool/mempool.git "$1^{}" | awk '{ print $1}' > ./backend/master
cp ./docker/backend/* ./backend/
sed -i "s/${gitMaster}/master/g" ./backend/src/api/backend-info.ts
#frontend
localhostIP="127.0.0.1"