We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent5fd8657 commit3e438e7Copy full SHA for 3e438e7
scripts/develop.sh
@@ -118,15 +118,17 @@ CODER_DEV_SHIM="${PROJECT_ROOT}/scripts/coder-dev.sh"
118
interfaces+=($(ifconfig| awk'/inet / {print $2}'))
119
fi
120
121
+# Space padding used after the URLs to align "==".
122
+space_padding=26
123
log
124
log"===================================================================="
125
log"== =="
126
log"== Coder is now running in development mode. =="
127
forifacein"${interfaces[@]}";do
-log"$(printf"== API: http://%s:3000%$((26-${#iface}))s==""$iface""")"
128
+log"$(printf"== API: http://%s:3000%$((space_padding-${#iface}))s==""$iface""")"
129
done
130
-log"$(printf"== Web UI: http://%s:8080%$((26-${#iface}))s==""$iface""")"
131
+log"$(printf"== Web UI: http://%s:8080%$((space_padding-${#iface}))s==""$iface""")"
132
133
134
log"== Use ./scripts/coder-dev.sh to talk to this instance! =="