Skip to content

Commit 9b76b10

Browse files
authored
chore: hide Coder message on code-server's "Getting Started" page (#4847)
1 parent 1882eda commit 9b76b10

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

agent/agent.go

+3
Original file line numberDiff line numberDiff line change
@@ -585,6 +585,9 @@ func (a *agent) createCommand(ctx context.Context, rawCommand string, env []stri
585585
cmd.Env = append(cmd.Env, fmt.Sprintf("SSH_CLIENT=%s %s %s", srcAddr, srcPort, dstPort))
586586
cmd.Env = append(cmd.Env, fmt.Sprintf("SSH_CONNECTION=%s %s %s %s", srcAddr, srcPort, dstAddr, dstPort))
587587

588+
// Hide Coder message on code-server's "Getting Started" page
589+
cmd.Env = append(cmd.Env, "CS_DISABLE_GETTING_STARTED_OVERRIDE=true")
590+
588591
// Load environment variables passed via the agent.
589592
// These should override all variables we manually specify.
590593
for envKey, value := range metadata.EnvironmentVariables {

0 commit comments

Comments
 (0)