Skip to content

NetCtrl v2.1.3 - Fix Dashboard WebView CORS & Engine Connection

Choose a tag to compare

@Limitless728 Limitless728 released this 14 Oct 11:17
· 1 commit to main since this release

What's Changed in v2.1.3

  • Resolved Dashboard "Engine Reconnecting" Lock:
    • Fixed Rust engine (server.rs) and Python server (server.py) CORS layers. Previously, allow_origin was strictly locked to "null", which blocked PyWebView requests originating from http://127.0.0.1:<port>.
    • Added dynamic loopback origin reflection (http://127.0.0.1:*, http://localhost:*, null, https://pywebview.api, https://appassets.html), allowing Edge WebView2 to communicate seamlessly with the local REST API while strictly rejecting external domains.
  • Resilient API Token Loading:
    • web/app.js now handles immediate availability, event listeners, interval polling, and graceful timeout so token initialization can never deadlock.

Binaries & Verification

  • Installer: NetCtrl_Setup.exe
  • SHA-256: 5B25C3417A651C7CD9EA83C90B72058B064F935A9F012C445185E1DA9E904DEF