📌  相关文章
📜  cors错误firebase实时数据库-任何代码示例

📅  最后修改于: 2022-03-11 14:56:36.984000             🧑  作者: Mango

代码示例1
likely error that arise to cors blocked when using firebase is
when you initiate a put or get request with an incomplete firebase url
e.g
// wrong form
this.http.get('https://******.firebaseio.com/data') //this will throw an exception

// correct form                                                    
this.http.get('https://******.firebaseio.com/data.json') //don't forget prefix