Moved several appsettings defaults to user-secrets
This commit is contained in:
@@ -3,6 +3,6 @@ namespace WebAPI.Data.Models
|
||||
public class User : BaseEntity
|
||||
{
|
||||
public int? PterodactylUserId { get; set; }
|
||||
public int? ExternalAuthIdentifier { get; set; }
|
||||
public string ExternalAuthIdentifier { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -32,7 +32,7 @@ namespace WebAPI.Data
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -18,6 +18,9 @@ namespace WebAPI
|
||||
|
||||
public static IHostBuilder CreateHostBuilder(string[] args) =>
|
||||
Host.CreateDefaultBuilder(args)
|
||||
.ConfigureWebHostDefaults(webBuilder => { webBuilder.UseStartup<Startup>(); });
|
||||
.ConfigureWebHostDefaults(webBuilder =>
|
||||
{
|
||||
webBuilder.UseStartup<Startup>();
|
||||
});
|
||||
}
|
||||
}
|
||||
@@ -22,7 +22,7 @@
|
||||
"dotnetRunMessages": "true",
|
||||
"launchBrowser": true,
|
||||
"launchUrl": "swagger",
|
||||
"applicationUrl": "https://localhost:5001;http://localhost:5000",
|
||||
"applicationUrl": "https://localhost:44319;http://localhost:36546",
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
<Project Sdk="Microsoft.NET.Sdk.Web">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>net5.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
<UserSecretsId>70ad8aec-0a1b-4ec9-bd5c-3d11ff1fcd93</UserSecretsId>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Sqlite" Version="5.0.11" />
|
||||
|
||||
@@ -12,5 +12,5 @@
|
||||
"AllowedHosts": "*",
|
||||
"PterodactylAPIKey": "REPLACE_ME",
|
||||
"PterodactylPanelURL": "https://panel.orfl.xyz",
|
||||
"OIDCUserInfoEndpoint": "https://authentik.mattstop.com/application/o/userinfo"
|
||||
"OIDCUserInfoEndpoint": "https://authentik.mattstop.com/application/o/userinfo/"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user