mirror of
https://github.com/cdr/code-server.git
synced 2025-12-07 00:44:31 +01:00
Account for disabled proxy in startup logs
This commit is contained in:
parent
2ffbcfdfcb
commit
e37b35278d
1 changed files with 3 additions and 1 deletions
|
|
@ -144,7 +144,9 @@ export const runCodeServer = async (
|
|||
logger.info(" - Not serving HTTPS")
|
||||
}
|
||||
|
||||
if (args["proxy-domain"].length > 0) {
|
||||
if (args["disable-proxy"]) {
|
||||
logger.info(" - Proxy disabled")
|
||||
} else if (args["proxy-domain"].length > 0) {
|
||||
logger.info(` - ${plural(args["proxy-domain"].length, "Proxying the following domain")}:`)
|
||||
args["proxy-domain"].forEach((domain) => logger.info(` - ${domain}`))
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue