Enhancement: Support more docker API connection options. (#5304)
Some checks are pending
Docker CI / Linting Checks (push) Waiting to run
Docker CI / Docker Build & Push (push) Blocked by required conditions

This commit is contained in:
Florian Apolloner
2025-05-22 16:35:29 +02:00
committed by GitHub
parent ea37ab2f78
commit 6cf3abd45e
2 changed files with 20 additions and 0 deletions

View File

@@ -47,6 +47,14 @@ export default function getDockerArguments(server) {
res.conn.protocol = servers[server].protocol;
}
if (servers[server].pathPrefix) {
res.conn.pathPrefix = servers[server].pathPrefix;
}
if (servers[server].headers) {
res.conn.headers = servers[server].headers;
}
return res;
}