mirror of
https://github.com/OMGeeky/twba_downloader.git
synced 2025-12-26 16:27:25 +01:00
docker deploy
This commit is contained in:
@@ -34,6 +34,7 @@ async fn run() -> Result<()> {
|
||||
.env()
|
||||
.file("./settings.toml")
|
||||
.file(shellexpand::tilde("~/twba/config.toml").to_string())
|
||||
.file(std::env::var("TWBA_CONFIG").unwrap_or_else(|_| "~/twba/config.toml".to_string()))
|
||||
.load()
|
||||
.map_err(|e| {
|
||||
error!("Failed to load config: {:?}", e);
|
||||
|
||||
Reference in New Issue
Block a user