-
|
I read that it is possible to serve the web build result from the flutter app. The guide now shows For my use case I would only like to serve, not run, my flutter app and connect manually with the : in a browser of my choice. This might be from another PC in the network. Some background info: I run my development in a docker container which does not have a browser installed/available and the browser is installed on my system. That is why I would like to only serve the web app and not run it in my build environment. Is there a way to do this with the flutter_rust_bridge build system? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi, I guess one way is to see how to build and serve a standalone flutter app (w/o rust), since the rust part (e.g. wasm files) are already built in steps before the |
Beta Was this translation helpful? Give feedback.
-
|
I indeed managed to make it work by running And build a little python script that serves with the correct headers. (Based on a script found here: https://stackoverflow.com/questions/21956683/enable-access-control-on-simple-http-server). |
Beta Was this translation helpful? Give feedback.
Hi, I guess one way is to see how to build and serve a standalone flutter app (w/o rust), since the rust part (e.g. wasm files) are already built in steps before the
flutter runstep.