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:
parent
93ab5f8514
commit
d0ef5728ca
|
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue