mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2025-06-27 05:23:13 +00:00
await
This commit is contained in:
@ -31,18 +31,18 @@ var webSocketOptions = new WebSocketOptions()
|
||||
app.UseWebSockets(webSocketOptions);
|
||||
|
||||
|
||||
// Configure the HTTP request pipeline.
|
||||
if (app.Environment.IsDevelopment())
|
||||
{
|
||||
app.UseSwagger();
|
||||
app.UseSwaggerUI();
|
||||
}
|
||||
//// Configure the HTTP request pipeline.
|
||||
//if (app.Environment.IsDevelopment())
|
||||
//{
|
||||
// app.UseSwagger();
|
||||
// app.UseSwaggerUI();
|
||||
//}
|
||||
|
||||
app.UseHttpsRedirection();
|
||||
//app.UseHttpsRedirection();
|
||||
|
||||
app.UseAuthorization();
|
||||
//app.UseAuthorization();
|
||||
|
||||
app.MapControllers();
|
||||
//app.MapControllers();
|
||||
|
||||
|
||||
await Warehouse.Put("sys", new MemoryStore());
|
||||
|
Reference in New Issue
Block a user