diff --git a/src/Nocr.TelegramListener.AppServices/UpdateListeners/TelegramClientContainer.cs b/src/Nocr.TelegramListener.AppServices/UpdateListeners/TelegramClientContainer.cs index e6b3a1f..afd3894 100644 --- a/src/Nocr.TelegramListener.AppServices/UpdateListeners/TelegramClientContainer.cs +++ b/src/Nocr.TelegramListener.AppServices/UpdateListeners/TelegramClientContainer.cs @@ -48,7 +48,7 @@ public sealed class TelegramClientContainer : ITelegramClientContainer, IDisposa { case "api_id": return _options.ApiId; case "api_hash": return _options.ApiHash; - case "session_pathname": return ".secrets/WTelegram.session"; + case "session_pathname": return Environment.GetEnvironmentVariable("session_pathname"); case "phone_number": return _options.PhoneNumber; case "verification_code":