Skip to content

Commit 751e644

Browse files
authored
Merge pull request #320 from dotnetgoo/dev
Dev
2 parents 7909c46 + e42e4cc commit 751e644

File tree

4 files changed

+2
-20
lines changed

4 files changed

+2
-20
lines changed

FleetFlow.DAL/AppSettings.cs

-13
This file was deleted.

src/FleetFlow.Api/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
EnvironmentHelper.RegionPath = Path.GetFullPath(builder.Configuration.GetValue<string>("FilePath:RegionPath"));
5555
EnvironmentHelper.DistrictPath = Path.GetFullPath(builder.Configuration.GetValue<string>("FilePath:DistrictPath"));
5656
// Configure the HTTP request pipeline.
57-
if (app.Environment.IsDevelopment())
57+
if (app.Environment.IsDevelopment() || app.Environment.IsProduction())
5858
{
5959
app.UseSwagger();
6060
app.UseSwaggerUI();

src/FleetFlow.GraphQL/Program.cs

-5
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@
2525
var app = builder.Build();
2626

2727
// Configure the HTTP request pipeline.
28-
if (app.Environment.IsDevelopment())
29-
{
30-
app.UseSwagger();
31-
app.UseSwaggerUI();
32-
}
3328

3429
app.UseHttpsRedirection();
3530

src/FleetFlow.GraphQL/appsettings.Development.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939
"AllowedHosts": "*",
4040
"ConnectionStrings": {
41-
"DefaultConnection": "Host=localhost; User Id=postgres; Password=admin; Database=FleetFlowDb;",
41+
"DefaultConnection": "Host=localhost; User Id=postgres; Password=root; Database=FleetFlowDb;",
4242
"SqlConnection": "Server=(localdb)\\MSSQLLocalDB, Database=FletFlow;Trusted_Connection=true"
4343
},
4444
"Email": {

0 commit comments

Comments
 (0)