mirror of
https://github.com/coder/code-server.git
synced 2026-05-11 14:57:26 +02:00
Allow {{host}} and {{port}} in domain proxy (#6225)
This commit is contained in:
committed by
GitHub
parent
2109d1cf6a
commit
0703ef008c
@@ -149,7 +149,10 @@ export const runCodeServer = async (
|
||||
|
||||
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}`))
|
||||
args["proxy-domain"].forEach((domain) => logger.info(` - ${domain}`))
|
||||
}
|
||||
if (process.env.VSCODE_PROXY_URI) {
|
||||
logger.info(`Using proxy URI in PORTS tab: ${process.env.VSCODE_PROXY_URI}`)
|
||||
}
|
||||
|
||||
if (args.enable && args.enable.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user