Skip to content

Commit

Permalink
Update entrypoint.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mietzen authored Jan 17, 2025
1 parent ec64daa commit 0a62f7e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Docker/entrypoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
sleep_time = int(os.getenv('SLEEP', 300))
domain = os.getenv('DOMAIN', None)

if os.getenv('IPV4_ONLY', None) or os.getenv('IPV6_ONLY', None):
raise PorkbunDDNS_Error('IPV4_ONLY and IPV6_ONLY are DEPRECATED and have been removed since v1.1.0')

public_ips = None
if os.getenv('PUBLIC_IPS', None):
public_ips = [x.strip() for x in os.getenv('PUBLIC_IPS', None).split(',')]
Expand Down

0 comments on commit 0a62f7e

Please sign in to comment.