-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[v2]Uncaught (in promise) missing Origin header #9454
Comments
Could you also post the output of the |
ok,this is output
|
emm,It looks a little complicated. So how can I solve this problem,manually sending a |
downgrade your tauri until they fix the bug |
I tested that both tauri 2.0.0 beta and 2.0.0 alpha cannot function properly. Can we only downgrade to tauri 1.0? |
Can someone upload a minimal reproduction (this means, reproduce the error in a new app created with create-tauri-app and upload that to github). Also, do you have a system proxy configured? |
hi,i have identified the cause, beacuse i face the problem:
i search the isssue and try many wrokaround but this is effective:tauri-apps/tauri-docs#26 (comment), but the problems encountered above will occur. |
Ahhh, okay i understand. For CORS issues we generally recommend using tauri's fetch instead of the browser's one which ignores CORS because it executes the requests on the Rust side. Or if possible, write the rust code yourself. @lucasfernog tldr: The |
I have tried tauri's fetch, it also face the CORS problem(Or something else, I can't remember clearly? Anyway, it won't work properly), so i have use |
i use this code to show a window:
but encounter some problem:
I am a beginner in the front-end, and I am not sure if it is because tauri is not properly configured or just because of a front-end issue.
I have reviewed the documentation and issue, but did not find any similar issues, so how should I solve them?
The text was updated successfully, but these errors were encountered: