source: iknow-api/Program.cs@ 43459e1

Last change on this file since 43459e1 was 43459e1, checked in by GitHub <noreply@…>, 11 months ago

Revert "Feature/refresh token"

  • Property mode set to 100644
File size: 445 bytes
Line 
1var builder = WebApplication.CreateBuilder(args);
2
3// Add services to the container.
4
5builder.Services.AddControllers();
6// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
7builder.Services.AddOpenApi();
8
9var app = builder.Build();
10
11// Configure the HTTP request pipeline.
12if (app.Environment.IsDevelopment())
13{
14 app.MapOpenApi();
15}
16
17app.UseHttpsRedirection();
18
19app.UseAuthorization();
20
21app.MapControllers();
22
23app.Run();
Note: See TracBrowser for help on using the repository browser.