How to allow http to my web served on http://localhost:5173 with Tauri v2 in development mode? #13305
Replies: 2 comments 2 replies
-
https for localhost is not generally required (and tends to cause problems anyway). do you see the same issue with a fresh create-tauri-app project? If so then i think it's an issue with the webview or your system 🤔 |
Beta Was this translation helpful? Give feedback.
-
My web is built with webpack and it serves on http://localhost:3010/, with this configuration:
And desktop Tauri shows the same error on a white background: Besides, I changed by https://localhost:3010/, with this configuration:
And desktop Tauri shows other error on a white background:
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a web that is served on http://localhost:5173 and tauri v2 en mode development, when I execute

npx tauri dev
I get this message (view image attached). At that moment, I only work with http.This is my
Cargo.toml
:Beta Was this translation helpful? Give feedback.
All reactions