mirror of
https://github.com/ReVanced/revanced-api.git
synced 2026-01-17 16:33:57 +00:00
feat: Load system properties
This commit is contained in:
@@ -26,7 +26,10 @@ fun Application.configureDependencies() {
|
||||
|
||||
val globalModule = module {
|
||||
single {
|
||||
Dotenv.load()
|
||||
Dotenv.configure()
|
||||
.ignoreIfMissing()
|
||||
.systemProperties()
|
||||
.load()
|
||||
}
|
||||
single {
|
||||
val configFilePath = get<Dotenv>()["CONFIG_FILE_PATH"]
|
||||
|
||||
Reference in New Issue
Block a user