File tree Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Expand file tree Collapse file tree 2 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 162162 {
163163 "slug" : " code-server" ,
164164 "displayName" : " code-server" ,
165- "url" : " http://${containerEnv:CODE_SERVER_HOST }:${containerEnv:CODE_SERVER_PORT}/${containerEnv:CODE_SERVER_FOLDER} " ,
165+ "url" : " http://${localEnv:FEATURE_CODE_SERVER_HOST:127.0.0.1 }:${localEnv:FEATURE_CODE_SERVER_PORT:8080}/ " ,
166166 "openIn" : " tab" ,
167167 "share" : " owner" ,
168- "icon" : " /icons/web.svg" ,
169- "order" : 1 ,
170- "group" : " Web Editors"
168+ "icon" : " /icon/code.svg" ,
169+ "group" : " ${localEnv:FEATURE_CODE_SERVER_APP_GROUP:Web Editors}"
171170 }
172171 ]
173172 }
Original file line number Diff line number Diff line change @@ -22,13 +22,6 @@ if [[ -n $WORKSPACE ]]; then
2222 CODE_SERVER_WORKSPACE=" $WORKSPACE "
2323fi
2424
25- # Serialize these options in the container environment for reference in JSON.
26- cat << EOF >> /etc/environment
27- CODE_SERVER_HOST=$HOST
28- CODE_SERVER_PORT=$PORT
29- CODE_SERVER_FOLDER=?folder=$CODE_SERVER_WORKSPACE
30- EOF
31-
3225FLAGS=()
3326FLAGS+=(--auth " $AUTH " )
3427FLAGS+=(--bind-addr " $HOST :$PORT " )
You can’t perform that action at this time.
0 commit comments