我现在打包一个https的域名,网页中请求了本地的服务无法连接 #978
Unanswered
chenxi2015
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
我的网站是https的。
现在我通过网页连接本地打印机
我写了一个链接本地打印机的服务 使用mkcert申请了本地受信任的本地开发证书,然后启动本地服务https://127.0.0.1:9511
通过配置本地host 127.0.0.1 printer-test.xxx.local
我在网站上配置了打印机的访问路由 https://printer-test.xxx.local

在浏览器上访问 可以请求到本地的打印机服务。
但是通过打包浏览器访问报错:

请问我该如何解决?
Beta Was this translation helpful? Give feedback.
All reactions