Hardcoded the firebase endpoint instead of loading it from endpoints.js