slowly
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
]
|
||||
},
|
||||
"tooling": {
|
||||
"defaultNamespace": "Yavsc"
|
||||
"defaultNamespace": "test"
|
||||
},
|
||||
"dependencies": {
|
||||
"Newtonsoft.Json": "9.0.1",
|
||||
|
@ -3,7 +3,7 @@ using Microsoft.Extensions.Logging;
|
||||
using Yavsc.Lib;
|
||||
using Yavsc.Services;
|
||||
|
||||
namespace Yavsc.test
|
||||
namespace test
|
||||
{
|
||||
public class Program
|
||||
{
|
||||
@ -14,7 +14,7 @@ namespace Yavsc.test
|
||||
var hostengnine = host
|
||||
.UseEnvironment("Development")
|
||||
.UseServer("test")
|
||||
.UseStartup<Startup>()
|
||||
.UseStartup<test.Startup>()
|
||||
.Build();
|
||||
|
||||
var app = hostengnine.Start();
|
||||
|
@ -72,14 +72,9 @@ namespace test
|
||||
.AddDbContext<ApplicationDbContext>(
|
||||
db => db.UseNpgsql(ConnectionString)
|
||||
);
|
||||
services.Configure<SharedAuthenticationOptions>(options =>
|
||||
{
|
||||
options.SignInScheme = "Bearer";
|
||||
});
|
||||
|
||||
services.AddTransient<Microsoft.Extensions.WebEncoders.UrlEncoder, UrlEncoder>();
|
||||
|
||||
services.AddAuthentication();
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user