Trying to deploy the simplest Cloud Function for Firebase:
const functions = require('firebase-functions');
exports.helloWorld = functions.https.onRequest((request, response) => {
response.send("Hello from Firebase!");
})
I've ran firebase init and selected functions.
The Firebase CLI has created a folder named 'functions' with index.js and package.json inside it. the index file contains the above function.
Then I ran firebase deploy --only functions and got a message in my terminal that the function was deployed. According to this page, I should have gotten a link to the function.
Instead, I got a link to my project's console. There is no sign of the function being deployed on the firebase web console functions section.
Any tips would be greatly appreciated!