แก้env

This commit is contained in:
Kittapath 2024-07-09 00:04:08 +07:00
parent 28d09e9c5d
commit cdb2e7442a
3 changed files with 9 additions and 8 deletions

View file

@ -4,7 +4,7 @@ ROOT_DIR=/app
# Replace env vars in JavaScript files
echo "Replacing env constants in JS"
for file in $ROOT_DIR/assets/app.*.js* $ROOT_DIR/index.html $ROOT_DIR/assets/index*.js* $ROOT_DIR/assets/*.js*;
for file in $ROOT_DIR/assets/app.*.js* $ROOT_DIR/js/app.*.js* $ROOT_DIR/assets/QSpace-*.js* $ROOT_DIR/index.html $ROOT_DIR/precache-manifest*.js $ROOT_DIR/assets/index*.js* $ROOT_DIR/assets/*.js*;
do
echo "Processing $file ...";