Skip to content

Commit

Permalink
Changed: Allow CLI to access localhost
Browse files Browse the repository at this point in the history
Fixes #339.
  • Loading branch information
mnot committed May 6, 2024
1 parent 85df07f commit 0d97065
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion redbot/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def main() -> None:
args = parser.parse_args()

config_parser = ConfigParser()
config_parser.read_dict({"redbot": {}})
config_parser.read_dict({"redbot": {"enable_local_access": "True"}})
config = config_parser["redbot"]

resource = HttpResource(config, descend=args.descend)
Expand Down

0 comments on commit 0d97065

Please sign in to comment.