This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"name": "آذربایجان شرقی", | |
"code": "041" | |
}, | |
{ | |
"name": "آذربایجان غربی", | |
"code": "044" | |
}, | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
rm -rf ./env-config.js | |
touch ./env-config.js | |
echo "window._env_ = {" >> ./env-config.js | |
while read -r line || [[ -n "$line" ]]; | |
do | |
if printf '%s\n' "$line" | grep -q -e '=' && printf '%s\n' "$line" | grep -q -e '^PUBLIC'; then |