Skip to content

[bug] 在tauri2中配置proxyUrl的问题 #14329

@IksGuo

Description

@IksGuo

Describe the bug

你好:

我在tauri.conf.json文件中配置如下:
"app": {
"windows": [
{
"title": "myApp",
"width": 1150,
"height": 800,
"maximized": true,
"proxy-url": "http://username:password@xxx.proxy.com:8080"
}
],
"security": {
"csp": null
}
},

1、我已经在proxyUrl中配置了代理的用户名和密码,但它却没有生效。因为当我使用tauri打开网站时,它还会要求我输入代理的用户名、密码。我不想再单独输入一次账号密码,我应该怎么配置?
2、代理还经常不稳定,会出现一下界面:

Image

期待你们的答复,非常感谢!

Reproduction

No response

Expected behavior

No response

Full tauri info output

1

Stack trace


Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions