|
Last change
on this file since c72ed3b was 2e5e3a8, checked in by GitHub <noreply@…>, 11 months ago |
|
Revert "Feature/refresh token"
|
-
Property mode
set to
100644
|
|
File size:
445 bytes
|
| Line | |
|---|
| 1 | var builder = WebApplication.CreateBuilder(args);
|
|---|
| 2 |
|
|---|
| 3 | // Add services to the container.
|
|---|
| 4 |
|
|---|
| 5 | builder.Services.AddControllers();
|
|---|
| 6 | // Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
|
|---|
| 7 | builder.Services.AddOpenApi();
|
|---|
| 8 |
|
|---|
| 9 | var app = builder.Build();
|
|---|
| 10 |
|
|---|
| 11 | // Configure the HTTP request pipeline.
|
|---|
| 12 | if (app.Environment.IsDevelopment())
|
|---|
| 13 | {
|
|---|
| 14 | app.MapOpenApi();
|
|---|
| 15 | }
|
|---|
| 16 |
|
|---|
| 17 | app.UseHttpsRedirection();
|
|---|
| 18 |
|
|---|
| 19 | app.UseAuthorization();
|
|---|
| 20 |
|
|---|
| 21 | app.MapControllers();
|
|---|
| 22 |
|
|---|
| 23 | app.Run();
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.