[autofix.ci] apply automated fixes

This commit is contained in:
autofix-ci[bot]
2026-08-07 17:51:52 -04:00
committed by Narciso
parent 5c862f7ef4
commit be71866c96
2 changed files with 7 additions and 5 deletions
@@ -223,8 +223,9 @@ PORT=3000
<FormDescription> <FormDescription>
When enabled, an .env file will be created in the same When enabled, an .env file will be created in the same
directory as your compose file on every deploy. directory as your compose file on every deploy.
Disable this if you don't want to generate an Disable this to keep a repository-provided .env; the
environment file. variables above will then be ignored. Takes effect on
the next deploy.
</FormDescription> </FormDescription>
</div> </div>
<FormControl> <FormControl>
+4 -3
View File
@@ -24,9 +24,10 @@ export const isDockerDesktop = async () => {
/** Returns the Docker host IP address. */ /** Returns the Docker host IP address. */
export const getDockerHost = async (): Promise<string> => { export const getDockerHost = async (): Promise<string> => {
if (process.env.NODE_ENV === "production") { if (process.env.NODE_ENV === "production") {
const isLinux = process.platform === "linux" const isLinux =
? (await Promise.all([isWSL(), isDockerDesktop()])).every((v) => !v) process.platform === "linux"
: false; ? (await Promise.all([isWSL(), isDockerDesktop()])).every((v) => !v)
: false;
if (isLinux) { if (isLinux) {
try { try {