最新消息: 电脑我帮您提供丰富的电脑知识,编程学习,软件下载,win7系统下载。

拒绝加载图像'https:authorization.example.herokuapp.comfavicon.ico,因为它违反了以下内容安全策略指令

IT培训 admin 18浏览 0评论

拒绝加载图像'https://authorization.example.herokuapp.com/favicon.ico,因为它违反了以下内容安全策略指令

这是我的index.html,我将我的node.js应用程序部署在heroku中,但是它引发了图像错误。

<!DOCTYPE html>
    <html lang="es">
    <head>

    <meta name="viewport" content="initial-scale=1.0,width=device-width,minimum- 
     scale=1.0,maximum-scale=1.0,user-scalable=no"/>

    <meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' 
     /">
回答如下:

尝试此元标记<meta http-equiv="Content-Security-Policy" content="default-src https:">

替换<meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' https://ea-authorization.herokuapp/">

更多信息Follow this

拒绝加载图像'https://authorization.example.herokuapp.com/favicon.ico,因为它违反了以下内容安全策略指令

这是我的index.html,我将我的node.js应用程序部署在heroku中,但是它引发了图像错误。

<!DOCTYPE html>
    <html lang="es">
    <head>

    <meta name="viewport" content="initial-scale=1.0,width=device-width,minimum- 
     scale=1.0,maximum-scale=1.0,user-scalable=no"/>

    <meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' 
     /">
回答如下:

尝试此元标记<meta http-equiv="Content-Security-Policy" content="default-src https:">

替换<meta http-equiv="Content-Security-Policy" content="img-src 'self' data:; default-src 'self' https://ea-authorization.herokuapp/">

更多信息Follow this

11136
发布评论

评论列表 (0)

  1. 暂无评论