function getFirestoreSettings(argv) {
  if (argv.local) {
    return {
      host: 'localhost:8080',
      ssl: false
    };
  } else {
    return {
      host: 'firestore.googleapis.com',
      ssl: true
    };
  }
}
function getFirestoreSettings(argv) {
  if (argv.local) {
    return {
      host: 'localhost:8080',
      ssl: false
    };
  } else {
    return {
      host: 'firestore.googleapis.com',
      ssl: true
    };
  }
}
function getFirestoreSettings ( argv ) { if ( argv . local ) { return { host : 'localhost:8080' , ssl : false } ; } else { return { host : 'firestore.googleapis.com' , ssl : true } ; } }
If the --local argument is passed, returns a {host, ssl} FirestoreSettings
object that point to localhost instead of production.
If the -- local argument is passed returns a { host ssl } FirestoreSettings object that point to localhost instead of production .
Get the firestore settings