Replies: 2 comments 3 replies
-
If you don't need any static assets and serve everything over the server you can change devPath and distUrl (v1) / devUrl and frontendDist (v2) to that localhost url. You can also specify it per window with the window specific url configs https://tauri.app/v1/api/config/#windowconfig.url / https://docs.rs/tauri/latest/tauri/window/struct.WindowBuilder.html#method.new / https://tauri.app/v1/api/js/window#constructor-5 To navigate at runtime you'll have to use window.location in js in v1 and https://docs.rs/tauri/2.0.0-beta.10/tauri/webview/struct.WebviewWindow.html#method.navigate (or window.location) in v2. |
Beta Was this translation helpful? Give feedback.
-
@FabianLars is there a method for getting the current URL after rendering an external URL? My use case is that I'd like to render an external URL, have the user take action within the web page, and then check what the current URL is post-action. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I know it was in documentation, but doc changed a little bit and now I don't see it. Thing is, I want to migrate my python / flask app to tauri. (I run it now via py2exe + web browser). And I want to create python subprocess and link tauri to it (via localhost:5000).
I can't migrate it at once,.. so I have to create small parts, which will be slowly exchanged until python die totally.
How can I make tauri to go for app on for example localhost:5000 ?? I know there is in tauri.config URL, but when app is built, it takes static files from ../build anyway.
Beta Was this translation helpful? Give feedback.
All reactions