Fix frontend not starting in release mode

This commit is contained in:
Exidex 2024-06-08 17:19:43 +02:00
parent 0b78e1bb24
commit 4935ffd0d1

View file

@ -43,7 +43,6 @@ async fn run_server() -> anyhow::Result<()> {
match (cfg!(feature = "release"), cfg!(feature = "scenario_runner")) {
(true, _) => {
std::process::Command::new(std::env::current_exe()?)
.args(["server"])
.env(FRONTEND_ENV, "")
.spawn()
.expect("failed to execute client process");