@firebase/database: FIREBASE WARNING: Namespace demoapp-9cb9d-default-rtdb lives in a different region. Please change your database URL code example
Example: change firebase region
//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)