Compare commits
No commits in common. "daceab9c12992017fcf26fda547445842c269cac" and "198a8635abb67c18d996cfa7c7f83459a1fa0a20" have entirely different histories.
daceab9c12
...
198a8635ab
@ -37,7 +37,7 @@ builder.Services.AddDbContext<DataContext>(options =>
|
||||
return;
|
||||
}
|
||||
|
||||
if (builder.Environment.IsProduction()) options.UseMySQL(builder.Configuration.GetConnectionString("DefaultConnection")!);
|
||||
if (builder.Environment.IsProduction()) options.UseMySQL(builder.Configuration.GetConnectionString("DefaultConnection"));
|
||||
else options.UseSqlite(builder.Configuration.GetConnectionString("DevelopmentConnection"));
|
||||
|
||||
// ignore pending model changes warning
|
||||
|
@ -1,16 +1,4 @@
|
||||
{
|
||||
"Jwt": {
|
||||
"Key": "bgpLLhY2L2UeZN3sj6WwSzScFmY3JgWfs33ZEJNcaPzC2TEnfZz",
|
||||
"Issuer": "http://localhost",
|
||||
"Audience": "http://localhost",
|
||||
"DefaultUserRole": "User"
|
||||
},
|
||||
"ConnectionStrings": {
|
||||
"DevelopmentConnection": "Data Source=qtcdev.db"
|
||||
},
|
||||
"GeneralConfig": {
|
||||
"CDNPath": "./user-content"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Debug",
|
||||
|
@ -1,18 +0,0 @@
|
||||
{
|
||||
"Jwt": {
|
||||
"Key": "bgpLLhY2L2UeZN3sj6WwSzScFmY3JgWfs33ZEJNcaPzC2TEnfZz",
|
||||
"Issuer": "http://localhost",
|
||||
"Audience": "http://localhost",
|
||||
"DefaultUserRole": "User"
|
||||
},
|
||||
"GeneralConfig": {
|
||||
"CDNPath": "./user-content"
|
||||
},
|
||||
"Logging": {
|
||||
"LogLevel": {
|
||||
"Default": "Information",
|
||||
"Microsoft.AspNetCore": "Warning"
|
||||
}
|
||||
},
|
||||
"AllowedHosts": "*"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user