change firebase region
snippet in javascript

change firebase region

user7390

//by default all functions will be deployed on US servers
//to change that for example for europe:
exports.api = functions.region('europe-west3').https.onRequest(app)