mirror of
https://github.com/mempool/mempool.git
synced 2025-02-22 14:22:44 +01:00
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:
parent
be72c5109a
commit
19bb8988f8
1 changed files with 0 additions and 3 deletions
|
@ -1,10 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
#backend
|
#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/
|
cp ./docker/backend/* ./backend/
|
||||||
sed -i "s/${gitMaster}/master/g" ./backend/src/api/backend-info.ts
|
|
||||||
|
|
||||||
#frontend
|
#frontend
|
||||||
localhostIP="127.0.0.1"
|
localhostIP="127.0.0.1"
|
||||||
|
|
Loading…
Add table
Reference in a new issue