File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -118,15 +118,17 @@ CODER_DEV_SHIM="${PROJECT_ROOT}/scripts/coder-dev.sh"
118
118
interfaces+=($( ifconfig | awk ' /inet / {print $2}' ) )
119
119
fi
120
120
121
+ # Space padding used after the URLs to align "==".
122
+ space_padding=26
121
123
log
122
124
log " ===================================================================="
123
125
log " == =="
124
126
log " == Coder is now running in development mode. =="
125
127
for iface in " ${interfaces[@]} " ; do
126
- log " $( printf " == API: http://%s:3000%$(( 26 - ${# iface} )) s==" " $iface " " " ) "
128
+ log " $( printf " == API: http://%s:3000%$(( space_padding - ${# iface} )) s==" " $iface " " " ) "
127
129
done
128
130
for iface in " ${interfaces[@]} " ; do
129
- log " $( printf " == Web UI: http://%s:8080%$(( 26 - ${# iface} )) s==" " $iface " " " ) "
131
+ log " $( printf " == Web UI: http://%s:8080%$(( space_padding - ${# iface} )) s==" " $iface " " " ) "
130
132
done
131
133
log " == =="
132
134
log " == Use ./scripts/coder-dev.sh to talk to this instance! =="
You can’t perform that action at this time.
0 commit comments