Connection string
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 28s
All checks were successful
Local Deploy with Docker / build-and-deploy (push) Successful in 28s
This commit is contained in:
parent
e1d843db03
commit
424dd5fb8f
@ -11,7 +11,7 @@ using Npgsql;
|
|||||||
class Program
|
class Program
|
||||||
{
|
{
|
||||||
private static string botToken = "7814259349:AAEasTnDpX5s5PrQcR5ihI9pOsmp2Ocv-m0"; // Укажите токен вашего бота
|
private static string botToken = "7814259349:AAEasTnDpX5s5PrQcR5ihI9pOsmp2Ocv-m0"; // Укажите токен вашего бота
|
||||||
private static string connectionString = "Host=127.0.0.1;Port=5432;Database=telegram_bot;Username=postgres;Password=postgres";
|
private static string connectionString = "Host=host.docker.internal;Port=5432;Database=telegram_bot;Username=postgres;Password=postgres";
|
||||||
|
|
||||||
private static readonly TelegramBotClient botClient = new TelegramBotClient(botToken);
|
private static readonly TelegramBotClient botClient = new TelegramBotClient(botToken);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user