Add JSON API for searches. Introduces new settings.py config option 'enable_search_route'

This commit is contained in:
dsc 2021-08-04 18:53:56 +02:00
parent 3ed9eee2f7
commit c0a1415eae
2 changed files with 49 additions and 1 deletions

View file

@ -16,6 +16,8 @@ timezone = "Europe/Amsterdam"
dir_music = os.environ.get("DIR_MUSIC", os.path.join(cwd, "data", "music"))
enable_search_route = bool_env(os.environ.get("ENABLE_SEARCH_ROUTE", False))
irc_admins_nicknames = ["dsc_"]
irc_host = os.environ.get('IRC_HOST', 'localhost')
irc_port = int(os.environ.get('IRC_PORT', 6667))