mirror of
https://github.com/flibusta-apps/book_bot.git
synced 2025-12-08 09:30:45 +01:00
Update
This commit is contained in:
@@ -17,6 +17,9 @@ pub struct Config {
|
||||
pub cache_server_url: String,
|
||||
pub cache_server_api_key: String,
|
||||
|
||||
pub batch_downloader_url: String,
|
||||
pub batch_downloader_api_key: String,
|
||||
|
||||
pub sentry_dsn: String,
|
||||
}
|
||||
|
||||
@@ -48,6 +51,9 @@ impl Config {
|
||||
cache_server_url: get_env("CACHE_SERVER_URL"),
|
||||
cache_server_api_key: get_env("CACHE_SERVER_API_KEY"),
|
||||
|
||||
batch_downloader_url: get_env("BATCH_DOWNLOADER_URL"),
|
||||
batch_downloader_api_key: get_env("BATCH_DOWNLOADER_API_KEY"),
|
||||
|
||||
sentry_dsn: get_env("SENTRY_DSN"),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user