Skip to content

Commit c253daa

Browse files
authored
Update bootstrap.sh (#2862)
* Update bootstrap.sh Fix issue when generating config.json * Update bootstrap.sh Fix mongodb URI
1 parent 09f871b commit c253daa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bootstrap.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ GREEN='\033[0;32m'
44
NC='\033[0m'
55
BOLD='\033[1m'
66
CHECK="${GREEN}\xE2\x9C\x93${NC}"
7-
DEFAULT_MONGODB_URI='mongodb://localhost:127.0.0.1:27017/parse'
7+
DEFAULT_MONGODB_URI='mongodb://127.0.0.1:27017/parse'
88

99
confirm() {
1010
DEFAULT=$1;
@@ -144,7 +144,7 @@ read -r MONGODB_URI
144144

145145
cat > ./config.json << EOF
146146
{
147-
"applicationId": "${APP_ID}",
147+
"appId": "${APP_ID}",
148148
"masterKey": "${MASTER_KEY}",
149149
"appName": "${APP_NAME}",
150150
"cloud": "./cloud/main",

0 commit comments

Comments
 (0)