You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

10 lines
224 B

# !/bin/sh
ROOT_DIR=/usr/share/nginx/html
for file in $ROOT_DIR/*.js $ROOT_DIR/index.html $ROOT_DIR/assets/*.js*;
do
sed -i 's|VITE_SERVER_URL_PLACEHOLDER|'${VITE_SERVER_SUIVI_URL}'|g' $file
done
nginx -g 'daemon off;'