mirror of
https://github.com/revanced/revanced-releases-api.git
synced 2025-06-12 12:47:37 +02:00
* refactor: import routers from old branch * refactor: import InternalCache removal * refactor: move routes into dedicated routers * fix: fixes entrypoint * refactor: add documentation and bump libs
This commit is contained in:
9
app/dependencies.py
Normal file
9
app/dependencies.py
Normal file
@ -0,0 +1,9 @@
|
||||
import toml
|
||||
|
||||
def load_config() -> dict:
|
||||
"""Loads the config.toml file.
|
||||
|
||||
Returns:
|
||||
dict: the config.toml file as a dict
|
||||
"""
|
||||
return toml.load("config.toml")
|
Reference in New Issue
Block a user