Allow actor id to be specified in config

This is useful if the actor won't be at the root of the domain.
This commit is contained in:
Kevin Wallace 2022-11-04 00:34:04 -07:00 committed by Thomas Sileo
parent 0badf0bc1f
commit 2843155501
3 changed files with 6 additions and 0 deletions

View file

@ -74,6 +74,8 @@ def main() -> None:
dat["https"] = False
proto = "http"
dat["id"] = f'{proto}://{dat["domain"]}'
print("Note that you can put your icon/avatar in the static/ directory")
dat["icon_url"] = prompt(
"icon URL: ", default=f'{proto}://{dat["domain"]}/static/nopic.png'