Skip to content

Commit

Permalink
fix: Linux版默认监听全局地址
Browse files Browse the repository at this point in the history
  • Loading branch information
rehiy committed Apr 8, 2024
1 parent a7f2dc6 commit d45d3e3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,9 @@ rm -rf linux/starter.bat
rm -rf linux/wrest-windows-amd64.exe
mv linux/wrest-linux-amd64 linux/wrest

sed -i 's/127.0.0.1:7601.*$/192.168.1.2:7601/g' linux/config.yml
sed -i '/WcfBinary:/d' linux/config.yml
sed -i 's/127.0.0.1:7601/192.168.1.2:7601/g' linux/config.yml
sed -i 's/127.0.0.1:7600/0.0.0.0:7600/g' linux/config.yml

cd linux
zip -r ../wrest-linux-v$version.zip .
Expand Down

0 comments on commit d45d3e3

Please sign in to comment.