fix: fix bug.

This commit is contained in:
Mr. Lan 2020-11-24 22:56:20 +08:00
parent c05726579b
commit 5aceacaa56

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'