Fix UDS path for FLET_SERVER_UDS_PATH environment variable

Updated the UDS path assignment to use the full path by joining appTempPath and the socket filename. This ensures the environment variable points to the correct socket location.
This commit is contained in:
Feodor Fitsner 2025-12-15 18:04:51 -08:00
parent 93ab5f8514
commit d0ef5728ca
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ Future prepareApp() async {
} else { } else {
// use UDS on other platforms // use UDS on other platforms
pageUrl = "flet_$pid.sock"; pageUrl = "flet_$pid.sock";
environmentVariables["FLET_SERVER_UDS_PATH"] = pageUrl; environmentVariables["FLET_SERVER_UDS_PATH"] = path.join(appTempPath, pageUrl);
} }
} }