Change the default Tauri application URL #9174
Replies: 2 comments 4 replies
-
If you mean just the url, but not the actual behavior (== you still want tauri to host the distDir files), then no. You can only switch between http and https via https://tauri.app/v1/api/config/#securityconfig.dangeroususehttpscheme. Note that this is windows only, on macos and linux it's always tauri://localhost If you want to change the url to some other serving mechanism you can either use the url property on the window configs or set devPath and distDir in tauri.conf.json to apply it to every window by default. |
Beta Was this translation helpful? Give feedback.
-
I have a similar requirement which need to config the response header to support SharedArrayBuffer, see https://webcontainers.io/guides/quickstart#cross-origin-isolation. I tried to use But the the builtin tiny-http lib does not support ranges features currently. See also tauri-apps/plugins-workspace#880. |
Beta Was this translation helpful? Give feedback.
-
It's possible to change the default Tauri application URL that is https://tauri.localhost/? If the answer is yes, how can we do that?
Beta Was this translation helpful? Give feedback.
All reactions