【问题标题】:tarruda datetimepicker link does not working on httpstarruda datetimepicker 链接在 https 上不起作用
【发布时间】:2016-06-17 05:24:56
【问题描述】:

我正在为我的项目使用 tarruda datetimepicker,在我移至 https 之前它工作得很好。 Tarruda datetimepicker 链接是http。我收到警告 Mixed Content: The page at 'https://mywebsite.com' was loaded over HTTPS, but requested an insecure stylesheet 'http://tarruda.github.io/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min.css'. This request has been blocked; the content must be served over HTTPS.

我能做些什么来解决这个问题?

【问题讨论】:

    标签: datetimepicker mixed-content


    【解决方案1】:

    在本地托管文件或更改链接以使用 https -- https://tarruda.github.io/bootstrap-datetimepicker/assets/css/bootstrap-datetimepicker.min.css。我更喜欢通过链接在本地托管文件,因为它不是 CDN,所有者可以选择停止 Github 页面,这实际上会杀死您的链接。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-01-06
      • 1970-01-01
      • 2014-06-26
      • 2019-01-24
      • 2012-06-18
      • 2015-09-19
      • 2018-02-01
      • 1970-01-01
      相关资源
      最近更新 更多