Commit 1ffa5505 authored by lap nguyen's avatar lap nguyen

update connection string

parent 526bb6cf
......@@ -11,7 +11,7 @@ namespace News_site.Provider
public BaseProvider()
{
DbContextOptionsBuilder<DataContext> optionsBuilder = new DbContextOptionsBuilder<DataContext>();
optionsBuilder.UseNpgsql("{YOUR CONNECTION STRING}");
optionsBuilder.UseNpgsql("Host=27.74.255.96;Database=site_news;Username=postgres;Password=meu@sds12@!#gh;Port=5430");
db = new DataContext(optionsBuilder.Options);
}
public async Task<bool> SaveDataAsync()
......
{
"ConnectionStrings": {
"HangfireConnection": "{YOUR CONNECTION STRING}"
"HangfireConnection": "Host=27.74.255.96;Database=site_news;Username=postgres;Password=meu@sds12@!#gh;Port=5430"
},
"Logging": {
"LogLevel": {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment