Skip to content

Commit

Permalink
magento
Browse files Browse the repository at this point in the history
  • Loading branch information
qiaofeng1227 committed Dec 26, 2023
1 parent fb73ba3 commit 3502628
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/magento/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ services:
exit 0
fi
echo $W9_URL
if expr "$W9_URL" : '^\(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?\)\.\(25[0-5]\|2[0-4][0-9]\|[01]?[0-9][0-9]?\)$' >/dev/null
then
if echo \"\$W9_URL\" | grep -qE '^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\$'; then
wp_url=$W9_URL:$W9_HTTP_PORT_SET
echo 'URL is IP'
else
Expand Down

0 comments on commit 3502628

Please sign in to comment.