-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Description
Describe the bug
Unable to access local network MJPG servers with unsecure HTTP
Reproduction
Use an <img src="http://192.168.1.1"> somewhere in your webview.
Expected behavior
No response
Platform and versions
Environment
› OS: Windows 10.0.22000 X64
› Webview2: 107.0.1418.62
› MSVC:
- Visual Studio Community 2022
› Node.js: 16.15.0
› npm: 8.5.5
› pnpm: Not installed!
› yarn: Not installed!
› rustup: 1.25.1
› rustc: 1.64.0
› cargo: 1.64.0
› Rust toolchain: stable-x86_64-pc-windows-msvc
Packages
› @tauri-apps/cli [NPM]: 1.2.1
› @tauri-apps/api [NPM]: 1.1.0 (outdated, latest: 1.2.0)
› tauri [RUST]: 1.1.1,
› tauri-build [RUST]: 1.1.1,
› tao [RUST]: 0.14.0,
› wry [RUST]: 0.21.1,
App
› build-type: bundle
› CSP: unset
› distDir: ../dist
› devPath: http://localhost:5173/
› framework: React
App directory structure
├─ .git
├─ .github
├─ .webpack
├─ dist
├─ node_modules
├─ out
├─ src
└─ src-tauri
Stack trace
No response
Additional context
While this may be on the verge of security/insecurity, I think for some use cases like robotics it makes sense to enable this.
