Skip to content

Commit 5a6572e

Browse files
committed
remove js property quotes to be in sync with scripts
1 parent c5ffa17 commit 5a6572e

3 files changed

Lines changed: 23 additions & 23 deletions

File tree

idx-template.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
then
1010
sed -e 's/<project-id>/${projectId}/' ${.idx/dev.nix} > "$out/.idx/dev.nix"
1111
else
12-
sed -e 's/<project-id>/${projectId}/' ${.idx/dev.nix} | sed -e 's/terraform init/# skip/' | sed -e 's/terraform apply/# skip/' > "$out/.idx/dev.nix"
12+
sed -e 's/<project-id>/${projectId}/' ${.idx/dev.nix} | sed -e 's/terraform init/# terraform init/' | sed -e 's/terraform apply/# terraform apply/' > "$out/.idx/dev.nix"
1313
echo '${bootstrapJs}' > "$out/src/bootstrap.js"
1414
echo '{"projects":{"default":"${projectId}"}}' > "$out/.firebaserc"
1515
fi

src/bootstrap.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
window["APP_TEMPLATE_BOOTSTRAP"] = {
2-
"firebase": {
3-
"apiKey": "API_KEY",
4-
"authDomain": "PROJECT_ID.firebaseapp.com",
5-
"databaseURL": "https://PROJECT_ID.firebaseio.com",
6-
"projectId": "PROJECT_ID",
7-
"storageBucket": "PROJECT_ID.appspot.com",
8-
"messagingSenderId": "SENDER_ID",
9-
"appId": "APP_ID",
10-
"measurementId": "G-MEASUREMENT_ID",
2+
firebase: {
3+
apiKey: "API_KEY",
4+
authDomain: "PROJECT_ID.firebaseapp.com",
5+
databaseURL: "https://PROJECT_ID.firebaseio.com",
6+
projectId: "PROJECT_ID",
7+
storageBucket: "PROJECT_ID.appspot.com",
8+
messagingSenderId: "SENDER_ID",
9+
appId: "APP_ID",
10+
measurementId: "G-MEASUREMENT_ID",
1111
},
12-
"geminiApiKey": "your_api_key",
13-
"debugToken": ""
12+
geminiApiKey: "your_api_key",
13+
debugToken: ""
1414
};

src/bootstrap.js.tmpl

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
window["APP_TEMPLATE_BOOTSTRAP"] = {
2-
"firebase": {
3-
"apiKey": "${api_key}",
4-
"authDomain": "${auth_domain}",
5-
"databaseURL": "${database_url}",
6-
"projectId": "${project_id}",
7-
"storageBucket": "${storage_bucket}",
8-
"messagingSenderId": "${messaging_sender_id}",
9-
"appId": "${web_app_id}",
10-
"measurementId": "${measurement_id}",
2+
firebase: {
3+
apiKey: "${api_key}",
4+
authDomain: "${auth_domain}",
5+
databaseURL: "${database_url}",
6+
projectId: "${project_id}",
7+
storageBucket: "${storage_bucket}",
8+
messagingSenderId: "${messaging_sender_id}",
9+
appId: "${web_app_id}",
10+
measurementId: "${measurement_id}",
1111
},
12-
"geminiApiKey": "${gemini_api_key}",
13-
"debugToken": "${debug_token}"
12+
geminiApiKey: "${gemini_api_key}",
13+
debugToken: "${debug_token}"
1414
};

0 commit comments

Comments
 (0)