Skip to content

Commit

Permalink
Use env vars from quickstart by default (#86)
Browse files Browse the repository at this point in the history
  • Loading branch information
natewalck committed Jun 7, 2024
1 parent 8c7a838 commit fcca36f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/syncdir.py
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,13 @@ def sync_dir(dir, base_url, key):
parser.add_argument(
"--baseurl",
type=str,
default="http://[::1]:9002",
default=os.environ.get("BASE_URL", "http://[::1]:9002"),
help="URL for uploading the JSON files (default: http://[::1]:9002)",
)
parser.add_argument(
"--key",
type=str,
default="kmfddm",
default=os.environ.get("API_KEY", "kmfddm"),
help="Password for HTTP Basic authentication",
)
args = parser.parse_args()
Expand Down

0 comments on commit fcca36f

Please sign in to comment.