From 32fea95ccb243745e6e1c80f64a71dc19296baeb Mon Sep 17 00:00:00 2001 From: Artemy <109195690+stalcker2288969@users.noreply.github.com> Date: Sun, 4 Oct 2026 14:35:57 +0700 Subject: [PATCH] Switch API DB to remote PostgreSQL Updated the API connection strings to point to the remote PostgreSQL host used by the hosted environment. This keeps the development and default appsettings aligned with the current database deployment. --- Govor.API/appsettings.Development.json | 2 +- Govor.API/appsettings.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Govor.API/appsettings.Development.json b/Govor.API/appsettings.Development.json index 61c97cc..0ee7820 100644 --- a/Govor.API/appsettings.Development.json +++ b/Govor.API/appsettings.Development.json @@ -6,7 +6,7 @@ } }, "ConnectionStrings": { - "GovorDbContext": "Host=localhost;Port=5432;Database=GovorDb;Username=postgres;Password=stalcker;" + "GovorDbContext": "Host=77.233.214.72;Port=5432;Database=default_db;Username=gen_user;Password=_H1@?S-{~DLb}@;" }, "UseMySql": false, "AllowedHosts": "*", diff --git a/Govor.API/appsettings.json b/Govor.API/appsettings.json index a6ffa20..4f44a02 100644 --- a/Govor.API/appsettings.json +++ b/Govor.API/appsettings.json @@ -6,7 +6,7 @@ } }, "ConnectionStrings": { - "GovorDbContext": "Host=192.168.0.4;Port=5432;Database=default_db;Username=gen_user;Password=_H1@?S-{~DLb}@;" + "GovorDbContext": "Host=77.233.214.72;Port=5432;Database=default_db;Username=gen_user;Password=_H1@?S-{~DLb}@;" }, "UseMySql": false, "AllowedHosts": "*",