Liten kommentar
This commit is contained in:
@ -2,10 +2,10 @@ using Azure.Storage.Blobs;
|
|||||||
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
using Microsoft.AspNetCore.Components.WebAssembly.Hosting;
|
||||||
using OfflineDemoApi.Data;
|
using OfflineDemoApi.Data;
|
||||||
using OfflineDemoApi.Models;
|
using OfflineDemoApi.Models;
|
||||||
using System;
|
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
|
// Tommy har varit h<>r
|
||||||
// Add services to the container.
|
// Add services to the container.
|
||||||
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
|
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
|
||||||
builder.Services.AddOpenApi();
|
builder.Services.AddOpenApi();
|
||||||
@ -52,7 +52,8 @@ if (app.Environment.IsDevelopment())
|
|||||||
|
|
||||||
app.UseHttpsRedirection();
|
app.UseHttpsRedirection();
|
||||||
|
|
||||||
app.MapGet("/", () => {
|
app.MapGet("/", () =>
|
||||||
|
{
|
||||||
return "Hello World";
|
return "Hello World";
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user