diff --git a/Data/ApplicationDbContextFactory.cs b/Data/ApplicationDbContextFactory.cs index 36fc463..b8e0436 100644 --- a/Data/ApplicationDbContextFactory.cs +++ b/Data/ApplicationDbContextFactory.cs @@ -9,7 +9,7 @@ public class ApplicationDbContextFactory : IDesignTimeDbContextFactory(); - optionsBuilder.UseNpgsql("Host=192.168.100.10;Port=5432;Database=fengling_auth;Username=movingsam;Password=sl52788542"); + optionsBuilder.UseNpgsql("Host=81.68.223.70;Port=15432;Database=fengling_auth;Username=movingsam;Password=sl52788542"); optionsBuilder.UseOpenIddict(); return new ApplicationDbContext(optionsBuilder.Options); } diff --git a/appsettings.Development.json b/appsettings.Development.json index 2f75d11..cfc6f36 100644 --- a/appsettings.Development.json +++ b/appsettings.Development.json @@ -1,6 +1,6 @@ { "ConnectionStrings": { - "DefaultConnection": "Host=192.168.100.10;Port=5432;Database=fengling_auth;Username=movingsam;Password=sl52788542" + "DefaultConnection": "Host=81.68.223.70;Port=15432;Database=fengling_auth;Username=movingsam;Password=sl52788542" }, "Logging": { "LogLevel": { diff --git a/appsettings.json b/appsettings.json index 3109c49..ee5390d 100644 --- a/appsettings.json +++ b/appsettings.json @@ -1,6 +1,6 @@ { "ConnectionStrings": { - "DefaultConnection": "Host=192.168.100.10;Port=5432;Database=fengling_auth;Username=movingsam;Password=sl52788542" + "DefaultConnection": "Host=81.68.223.70;Port=15432;Database=fengling_auth;Username=movingsam;Password=sl52788542" }, "Jwt": { "Issuer": "http://localhost:5132",