Created
May 27, 2021 18:27
-
-
Save jonesiscoding/89f743f91572e518c0ba88da0065ac78 to your computer and use it in GitHub Desktop.
Gets URL After Redirect
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Get the final URL after the redirect | |
| DL_URL=$( curl "${APP_URL}" -s -L -I -o /dev/null -w '%{url_effective}' ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment