foo.js
document.addEventListener('DOMContentLoaded', function() {
let app = firebase.app();
const sendText = firebase.functions().httpsCallable('sendText');
sendText({ message: 'Hello World!' })
});
document.addEventListener('DOMContentLoaded', function() {
let app = firebase.app();
const sendText = firebase.functions().httpsCallable('sendText');
sendText({ message: 'Hello World!' })
});
Ask questions via GitHub below OR chat on Slack #questions