forked from Mirrors/cloudflare-ddns-docker
Housekeeping fix to pass the token in through click, instead of assuming its going to get picked correctly.
All checks were successful
Build Docker Image / build (push) Successful in 1m23s
All checks were successful
Build Docker Image / build (push) Successful in 1m23s
This commit is contained in:
@ -23,6 +23,7 @@ load_dotenv()
|
||||
prompt="Enter your Cloudflare Token",
|
||||
hide_input=True,
|
||||
show_envvar=True,
|
||||
envvar='CF_DDNS_TOKEN',
|
||||
help="Your Cloudflare Bearer token."
|
||||
)
|
||||
@click.option('-v', '--verbose', is_flag=True, default=False, help="Show debug logging.")
|
||||
|
@ -114,7 +114,7 @@ class ApplicationJob(threading.Thread):
|
||||
domain = Domain(
|
||||
record_json["name"],
|
||||
record_json["type"],
|
||||
record_json["zone_id"],
|
||||
zone_json["id"],
|
||||
record_json["id"]
|
||||
)
|
||||
found_domains[f'{record_json["name"]}-{record_json["type"]}'] = domain
|
||||
|
Reference in New Issue
Block a user