You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have configured cross-domain on the server backend, and axios obtains requests normally in cargo tauri dev and cargo tauri android dev. I do not use the route of vite for cross-domain, but directly get the results through axios target url. . But when I use cargo tauri android build, I cannot jump on the login page (normally it is a jump), and Axios cannot get any resources.
I am using tauri2.0-beta.13, the latest version of rustc nightly, and the front end uses bun.
this will fix the issue, as tauri does not allow the embedded browser to make requests directly
also configure the project permissions to allow requests to the required urls Read further
this will fix the issue, as tauri does not allow the embedded browser to make requests directly also configure the project permissions to allow requests to the required urls Read further
Thank you! Following your advice, the problem has been solved.
Describe the bug
I have configured cross-domain on the server backend, and axios obtains requests normally in cargo tauri dev and cargo tauri android dev. I do not use the route of vite for cross-domain, but directly get the results through axios target url. . But when I use cargo tauri android build, I cannot jump on the login page (normally it is a jump), and Axios cannot get any resources.
I am using tauri2.0-beta.13, the latest version of rustc nightly, and the front end uses bun.
Reproduction
axios cannot return request
Expected behavior
axios return request
Full
tauri info
outputStack trace
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: