diff --git a/FAuth/.config/dotnet-tools.json b/FAuth/.config/dotnet-tools.json new file mode 100644 index 0000000..4ab7ed2 --- /dev/null +++ b/FAuth/.config/dotnet-tools.json @@ -0,0 +1,12 @@ +{ + "version": 1, + "isRoot": true, + "tools": { + "dotnet-ef": { + "version": "3.1.3", + "commands": [ + "dotnet-ef" + ] + } + } +} \ No newline at end of file diff --git a/FAuth/FAuth.csproj b/FAuth/FAuth.csproj index 0c60cd2..1988c9f 100644 --- a/FAuth/FAuth.csproj +++ b/FAuth/FAuth.csproj @@ -1,7 +1,7 @@ - netcoreapp3.1 + netcoreapp3.1 bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml @@ -10,6 +10,7 @@ + diff --git a/FAuth/Properties/launchSettings.json b/FAuth/Properties/launchSettings.json index 2d46cc7..f95c2d8 100644 --- a/FAuth/Properties/launchSettings.json +++ b/FAuth/Properties/launchSettings.json @@ -20,7 +20,7 @@ "environmentVariables": { "ASPNETCORE_ENVIRONMENT": "Development" }, - "applicationUrl": "https://localhost:5001;http://localhost:5000" + "applicationUrl": "https://*:9001;http://*:9000" } } } \ No newline at end of file diff --git a/FAuth/Startup.cs b/FAuth/Startup.cs index efddd4d..8e05609 100644 --- a/FAuth/Startup.cs +++ b/FAuth/Startup.cs @@ -85,7 +85,7 @@ namespace FAuth app.UseHsts(); } - using(var socpe=app.ApplicationServices.CreateScope()) { + using(var socpe = app.ApplicationServices.CreateScope()) { var db = socpe.ServiceProvider.GetService(); db.InitSync().Wait(); } diff --git a/FAuth/appsettings.json b/FAuth/appsettings.json index 2d150af..6793831 100644 --- a/FAuth/appsettings.json +++ b/FAuth/appsettings.json @@ -16,5 +16,6 @@ }, "UserTicketDecryptorOption": { "Key": "abcd" - } + }, + "urls": "http://*:9000,https://*:9001" }