我在一个web应用程序中使用了firebaseui,并且在控制台日志中得到了这个错误:
加载与源“https://cdn.firebase.com/libs/firebaseui/3.5.2/firebaseui.js”失败。
正如预期的那样,auth UI本身不会加载。域cdn.firebase.com解析为:
名称: f6.shared.global.fastly.net
地址: 151.101.154.202
它将解析为与加载auth UI的主机不同的IP地址。我能做些什么来确保firebase可靠地加载,而不管主机位于哪里?
谢谢你,阿比舍克
发布于 2019-10-22 18:01:10
Firebase库托管在cdn.firebase.com和gstatic.com CDN上。
试着用这个代替:
<script src="https://www.gstatic.com/firebasejs/ui/3.5.2/firebase-ui-auth.js"></script>
<link type="text/css" rel="stylesheet" href="https://www.gstatic.com/firebasejs/ui/3.5.2/firebase-ui-auth.css" />https://stackoverflow.com/questions/58467683
复制相似问题