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

[Feature] 图标获取支持忽略HTTPS证书 #151

Open
yw9381 opened this issue Apr 17, 2024 · 2 comments
Open

[Feature] 图标获取支持忽略HTTPS证书 #151

yw9381 opened this issue Apr 17, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@yw9381
Copy link

yw9381 commented Apr 17, 2024

当获取一个内网的地址的图标时候,因为有些应用是HTTPS的,导致证书校验失败从而获取不到,
响应报文为

{
    "code": -1,
    "msg": "acquisition failed: downloadHead \"https://10.0.10.1/favicon.ico\": tls: failed to verify certificate: x509: certificate signed by unknown authority"
}

希望能新增配置项,使得可以忽略https证书校验从而完成图标获取

@yw9381 yw9381 added the enhancement New feature or request label Apr 17, 2024
@hslr-s
Copy link
Owner

hslr-s commented Apr 17, 2024

请提供一下你使用版本号和运行环境

@yw9381
Copy link
Author

yw9381 commented Apr 17, 2024

版本号为 v1.4.0-beta24-04-12
使用docker部署,部署命令为

docker run -dit -p 8080:3002 -v ./data:/app/conf hslr/sun-panel:1.4.0-beta24-04-12

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

No branches or pull requests

2 participants