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

请求信息异常:"origin": [ "file://" ], #585

Open
ziyue7575 opened this issue Feb 2, 2024 · 3 comments
Open

请求信息异常:"origin": [ "file://" ], #585

ziyue7575 opened this issue Feb 2, 2024 · 3 comments

Comments

@ziyue7575
Copy link

发送请求的时候origin会是file://,导致被访问端会拒绝。
electron不会出现这个问题

@weolar
Copy link
Owner

weolar commented Feb 2, 2024

怎么发送请求的?

@ziyue7575
Copy link
Author

vue项目,使用axios发送请求。将vue页面打包了html之后,放到了resources\app目录,然后用mini_electron.exe打开

@weolar
Copy link
Owner

weolar commented Feb 2, 2024

这个asar能否发给我试试

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