Content-Length: 277325 | pFad | http://github.com/coder/coder/commit/5868b0b5736823a48189e807be79c3c5f04d4154

B6 chore: set CODER_DEV_SESSION_TOKEN_COOKIE_PREFIX in develop.sh · coder/coder@5868b0b · GitHub
Skip to content

Commit 5868b0b

Browse files
committed
chore: set CODER_DEV_SESSION_TOKEN_COOKIE_PREFIX in develop.sh
1 parent 5497686 commit 5868b0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/develop.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ source "${SCRIPT_DIR}/lib.sh"
1414
set -euo pipefail
1515

1616
CODER_DEV_ACCESS_URL="${CODER_DEV_ACCESS_URL:-http://127.0.0.1:3000}"
17+
CODER_DEV_SESSION_TOKEN_COOKIE_PREFIX="${CODER_DEV_SESSION_TOKEN_COOKIE_PREFIX:-dev}"
1718
debug=0
1819
DEFAULT_PASSWORD="SomeSecurePassword!"
1920
password="${CODER_DEV_ADMIN_PASSWORD:-${DEFAULT_PASSWORD}}"
@@ -150,7 +151,7 @@ fatal() {
150151
trap 'fatal "Script encountered an error"' ERR
151152

152153
cdroot
153-
DEBUG_DELVE="${debug}" start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --access-url "${CODER_DEV_ACCESS_URL}" --dangerous-allow-cors-requests=true --enable-terraform-debug-mode "$@"
154+
DEBUG_DELVE="${debug}" CODER_DEV_SESSION_TOKEN_COOKIE_PREFIX="${CODER_DEV_SESSION_TOKEN_COOKIE_PREFIX}" start_cmd API "" "${CODER_DEV_SHIM}" server --http-address 0.0.0.0:3000 --swagger-enable --access-url "${CODER_DEV_ACCESS_URL}" --dangerous-allow-cors-requests=true --enable-terraform-debug-mode "$@"
154155

155156
echo '== Waiting for Coder to become ready'
156157
# Start the timeout in the background so interrupting this script

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/coder/coder/commit/5868b0b5736823a48189e807be79c3c5f04d4154

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy