Skip to content

Commit 605ad3b

Browse files
committed
Config JSON easier for dev
1 parent 2120b27 commit 605ad3b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

superannotate/__main__.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,15 @@ def ask_token():
3636
json.dump(existing_config, open(config_file, "w"), indent=4)
3737
logger.info("Configuration file %s successfully updated.", config_file)
3838
else:
39-
json.dump({"token": token}, open(config_file, "w"), indent=4)
39+
json.dump(
40+
{
41+
"token": token,
42+
"main_endpoint": "https://api.annotate.online",
43+
"ssl_verify": True
44+
},
45+
open(config_file, "w"),
46+
indent=4
47+
)
4048
logger.info("Configuration file %s successfully created.", config_file)
4149

4250

0 commit comments

Comments
 (0)