File tree 1 file changed +2
-4
lines changed 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -16,8 +16,6 @@ set -euo pipefail
16
16
DEFAULT_PASSWORD=" SomeSecurePassword!"
17
17
password=" ${CODER_DEV_ADMIN_PASSWORD:- ${DEFAULT_PASSWORD} } "
18
18
use_proxy=0
19
- # Hard coded app security key for the proxy to also use.
20
- app_security_key=bea458bcfb31990fb70f14a7003c0aad4f371f19653f3a632bc9d3492004cd95e0e542c30e5f158f26728373190bfc802b1c1549f52c149af8ad7f5b12ea1ee0995b95de3b86ae78f021c17437649224cd2dcf1b298d180811cf36f4dcb8f33e
21
19
22
20
args=" $( getopt -o " " -l use-proxy,agpl,password: -- " $@ " ) "
23
21
eval set -- " $args "
@@ -133,7 +131,7 @@ fatal() {
133
131
trap ' fatal "Script encountered an error"' ERR
134
132
135
133
cdroot
136
- start_cmd API " " " ${CODER_DEV_SHIM} " server --http-address 0.0.0.0:3000 --swagger-enable --access-url " http://127.0.0.1:3000" --dangerous-dev-app-security-key ${app_security_key} -- experiments " *" " $@ "
134
+ start_cmd API " " " ${CODER_DEV_SHIM} " server --http-address 0.0.0.0:3000 --swagger-enable --access-url " http://127.0.0.1:3000" --experiments " *" " $@ "
137
135
138
136
echo ' == Waiting for Coder to become ready'
139
137
# Start the timeout in the background so interrupting this script
@@ -187,7 +185,7 @@ fatal() {
187
185
# Create the proxy
188
186
proxy_session_token=$( " ${CODER_DEV_SHIM} " proxy create --name=local-proxy --display-name=" Local Proxy" --icon=" /emojis/1f4bb.png" --access-url=http://localhost:3010 --only-token)
189
187
# Start the proxy
190
- start_cmd PROXY " " " ${CODER_DEV_SHIM} " proxy server --http-address=localhost:3010 --proxy-session-token=" ${proxy_session_token} " --primary-access-url=http://localhost:3000 --app-security-key= " ${app_security_key} "
188
+ start_cmd PROXY " " " ${CODER_DEV_SHIM} " proxy server --http-address=localhost:3010 --proxy-session-token=" ${proxy_session_token} " --primary-access-url=http://localhost:3000
191
189
) || echo " Failed to create workspace proxy. No workspace proxy created."
192
190
fi
193
191
You can’t perform that action at this time.
0 commit comments