You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
foriin$(env | grep APP_)#// Make sure to use the prefix MY_APP_ if you have any other prefix in env.production file variable name replace it with MY_APP_
6
+
do
7
+
key=$(echo $i| cut -d '=' -f 1)
8
+
value=$(echo $i| cut -d '=' -f 2-)
9
+
echo$key=$value
10
+
# sed All files
11
+
# find /usr/share/nginx/html -type f -exec sed -i "s|${key}|${value}|g" '{}' +
12
+
# sed JS and CSS only
13
+
find /usr/share/nginx/html -type f \( -name '*.js' -o -name '*.css'\) -exec sed -i "s|${key}|${value}|g"'{}' +
0 commit comments