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

求教,打包完http资源不允许请求知道咋整吗 #16

Open
UvDream opened this issue Jul 27, 2022 · 9 comments
Open

求教,打包完http资源不允许请求知道咋整吗 #16

UvDream opened this issue Jul 27, 2022 · 9 comments

Comments

@UvDream
Copy link

UvDream commented Jul 27, 2022

我遇到了mac端打包完成http图片不允许请求,

@lencx
Copy link
Owner

lencx commented Jul 27, 2022

你设置 tauri.conf.json 了吗?具体可以查看文档 Tauri http

{
  "tauri": {
    "allowlist": {
      "http": {
        "all": true, // enable all http APIs
        "request": true // enable HTTP request API
      }
    }
  }
}

@UvDream
Copy link
Author

UvDream commented Jul 27, 2022

你设置 tauri.conf.json 了吗?具体可以查看文档 Tauri http

{
  "tauri": {
    "allowlist": {
      "http": {
        "all": true, // enable all http APIs
        "request": true // enable HTTP request API
      }
    }
  }
}

设置了

@lencx
Copy link
Owner

lencx commented Jul 27, 2022

报啥错啊,你有搜索过相关 issues 吗

@UvDream
Copy link
Author

UvDream commented Jul 27, 2022

报啥错啊,你有搜索过相关 issues 吗

Failed to load resource: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection

搜索过,csp我也试过,所以很奇怪

@UvDream
Copy link
Author

UvDream commented Jul 27, 2022

报啥错啊,你有搜索过相关 issues 吗

还有个问题,windows打包打开有问题,说什么和edge加载啥的,你有遇到过么,刚开始我以为是window11问题

@lencx
Copy link
Owner

lencx commented Jul 27, 2022

我也不清楚你的打包问题,你可以试着下载一下我打的包,看看能不能运行 https://github.com/lencx/OhMyBox/releases

@UvDream
Copy link
Author

UvDream commented Jul 28, 2022

我也不清楚你的打包问题,你可以试着下载一下我打的包,看看能不能运行 https://github.com/lencx/OhMyBox/releases

image
我发现就我的window电脑不行,其它window电脑都可以,哈哈

你这安装包在我电脑上一样,哈哈,你这比我那个还过分,关闭按钮关不掉,任务管理器都关不掉

@lencx
Copy link
Owner

lencx commented Jul 28, 2022

你的浏览器版本有问题吧,你可以看看这几篇文章,推荐看第二篇:

@UvDream
Copy link
Author

UvDream commented Jul 28, 2022

你的浏览器版本有问题吧,你可以看看这几篇文章,推荐看第二篇:

最新版本,我已经知道了,是我们公司装的监控软件杀webview独立核心

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

2 participants