mirror of
https://github.com/coder/code-server.git
synced 2024-12-27 19:56:57 +03:00
Account for disabled proxy in startup logs
This commit is contained in:
parent
2ffbcfdfcb
commit
e37b35278d
@ -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 New Issue
Block a user