Skip to content

Commit 8869169

Browse files
RezaRahmatijoehan
andauthored
Fixing issue reading env.DATABASE_URL and process.env.STORAGE_BUCKET_URL (#840)
* #829 fixing issue reading env.DATABASE_URL and env.STORAGE_BUCKET_URL * #829 revert space changes Co-authored-by: joehan <[email protected]>
1 parent 5f64797 commit 8869169

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/setup.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ export function setup() {
5151
);
5252
process.env.FIREBASE_CONFIG = JSON.stringify({
5353
databaseURL:
54-
`${process.env.DATABASE_URL}` ||
54+
process.env.DATABASE_URL ||
5555
`https://${process.env.GCLOUD_PROJECT}.firebaseio.com`,
5656
storageBucket:
57-
`${process.env.STORAGE_BUCKET_URL}` ||
57+
process.env.STORAGE_BUCKET_URL ||
5858
`${process.env.GCLOUD_PROJECT}.appspot.com`,
5959
projectId: process.env.GCLOUD_PROJECT,
6060
});

0 commit comments

Comments
 (0)