Merge pull request #115 from lanyulei/dev

fix: fix bug.
This commit is contained in:
lanyulei 2020-11-24 22:59:50 +08:00 committed by GitHub
commit b5317f947a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
#!/bin/sh
# vim:sw=4:ts=4:et
grep -r -o "http://localhost:8002" /opt/web |awk -F ':' '{print $1}' | xargs sed -i s'#http://localhost:8002#http://192.168.1.1:8001#g'
grep -r -o "http://fdevops.com:8001" /opt/web |awk -F ':' '{print $1}' | xargs sed -i s'#http://fdevops.com:8001#http://192.168.1.1:8001#g'
grep -r -o "VUE_APP_BASE_API" /opt/web |awk -F ':' '{print $1}' | xargs sed -i s'#VUE_APP_BASE_API#http://192.168.1.1:8001#g'
grep -r -o "localhost" /opt/web/static/web/js |awk -F ':' '{print $1}' | xargs sed -i s'#localhost#192.168.1.1#g'