升级到angularfire.js 2和firebase.js 3,我收到以下错误:
- Failed to load resource: the server responded with a status of www.googleapis.com/identitytoolkit/v3/relyingparty/getProjectConfig?key= .........
404 (Not Found)
- XMLHttpRequest cannot load ......... Response for preflight has invalid HTTP status code 404
提前感谢您的帮助。
答案 0 :(得分:0)
您需要在本地服务器上运行它。您收到CORS错误。
如果你看火山基地,你会看到两个列入白名单的网址。一个是localhost,另一个是your-firebase-project-name.firebase.google.com