You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Although curl will only call the function once.
Chrome load or refresh calls the function twice.
A bit confusing when debugging something more complex than HelloWorld.
Very easy to see:
exports.helloWorld = (req, res) => {
console.log('running HelloWorld'); // <-- oh no not again
res.send('Hello, World');
};