//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)