| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
The Heroku-24 stack does not include `bc` and bash cannot do non-integer math. Use `awk` to convert the timeout & interval to milliseconds so we can use build-in bash math operators.
| (tailscaled -verbose ${TAILSCALED_VERBOSE:--1} --tun=userspace-networking --socks5-server=localhost:1055 > /dev/null 2>&1 &) | ||
| (tailscaled -verbose ${TAILSCALED_VERBOSE:--1} --tun=userspace-networking --socks5-server=localhost:1055 > /dev/null 2>&1 &) | ||
| tailscale up \ | ||
| --authkey="${TAILSCALE_AUTH_KEY}?preauthorized=true&ephemeral=true" \ |
There was a problem hiding this comment.
the query params here are causing a:
backend error: invalid key: unable to validate API keyI believe that these attributes are handled in the API Key that is generated in the Tailscale admin UI
Sorry, something went wrong.
| --timeout=15s \ | ||
| ${TAILSCALE_ADDITIONAL_ARGS:---timeout=15s} | ||
| ${TAILSCALE_ADDITIONAL_ARGS:---accept-routes --timeout=15s} |
There was a problem hiding this comment.
This is a refactor to make sure that the --timeout flag value that may be in $TAILSCALE_ADDITIONAL_ARGS is not overridden by the preexisting --timeout=15s \ and leaves --accept-routes as a default but an option that could be removed as well without making a new $ENV_VAR
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
CoderMiguel#1