Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: 建议将音乐播放器默认图片地址改为HTTPS或保存在前端静态文件中以规避HTTP混用提示不安全 #60

Closed
D3CODING opened this issue Feb 24, 2020 · 4 comments

Comments

@D3CODING
Copy link

在线播放音乐,如果音乐没有封面会调用的默认封面地址http://c.jun6.net/audio.png,而这个地址是HTTP的,在前端使用HTTPS部署时,谷歌浏览器会提示不安全。在以后更新中谷歌浏览器会禁止HTTPS页面混用HTTP链接图片等。

建议:将链接改为HTTPS或者直接放在在前端静态文件中。

@D3CODING D3CODING changed the title feat: 建议将音乐播放器默认图片地址改为HTTPS或存在本地以规避HTTP混用提示不安全 feat: 建议将音乐播放器默认图片地址改为HTTPS或储存本地以规避HTTP混用提示不安全 Feb 24, 2020
@D3CODING D3CODING changed the title feat: 建议将音乐播放器默认图片地址改为HTTPS或储存本地以规避HTTP混用提示不安全 feat: 建议将音乐播放器默认图片地址改为HTTPS或保存在前端静态文件中以规避HTTP混用提示不安全 Feb 24, 2020
@lcxw
Copy link

lcxw commented Feb 24, 2020

在线播放音乐,如果音乐没有封面会调用的默认封面地址http://c.jun6.net/audio.png,而这个地址是HTTP的,在前端使用HTTPS部署时,谷歌浏览器会提示不安全。在以后更新中谷歌浏览器会禁止HTTPS页面混用HTTP链接图片等。

建议:将链接改为HTTPS或者直接放在在前端静态文件中。

提一个MR呀😂

@D3CODING
Copy link
Author

因为还没学JAVA和前端,所以找了半天没找到这个图片是在哪里引用的...
Snipaste_2020-02-24_17-50-59.png

@D3CODING
Copy link
Author

如果前后端分离部署,直接在/static/js/app.3d5f33b3.js里面找到地址更改成https就行了。不知道纯java部署是否也是引用这个文件

@zhaojun1998
Copy link
Collaborator

已更新

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants