mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 19:38:16 +08:00
seperate startups for tests...updated configuration.json for manual tests and tidied a few more things up
This commit is contained in:
@ -33,11 +33,18 @@ namespace Ocelot.ManualTest
|
||||
{
|
||||
x.WithMicrosoftLogging(log =>
|
||||
{
|
||||
//log.AddConsole(LogLevel.Debug);
|
||||
log.AddConsole(LogLevel.Debug);
|
||||
})
|
||||
.WithDictionaryHandle();
|
||||
};
|
||||
|
||||
services.AddAuthentication()
|
||||
.AddJwtBearer("TestKey", x =>
|
||||
{
|
||||
x.Authority = "test";
|
||||
x.Audience = "test";
|
||||
});
|
||||
|
||||
services.AddOcelot(Configuration, settings);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user