Skip to content

Commit

Permalink
Update Startup.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
mythz committed Nov 3, 2021
1 parent 1641a26 commit 6e11302
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 54 deletions.
1 change: 1 addition & 0 deletions api/MyApp/MyApp.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

<ItemGroup>
<PackageReference Include="ServiceStack" Version="5.*" />
<PackageReference Include="ServiceStack.Extensions" Version="5.*" />
<PackageReference Include="ServiceStack.OrmLite.Sqlite" Version="5.12.1" />
<PackageReference Include="ServiceStack.Server" Version="5.12.1" />
</ItemGroup>
Expand Down
6 changes: 1 addition & 5 deletions api/MyApp/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
var builder = WebApplication.CreateBuilder(args);

builder.Services.AddModularStartup<AppHost>(builder.Configuration);
//builder.Services.ConfigureNonBreakingSameSiteCookies(builder.Environment);
builder.Services.ConfigureNonBreakingSameSiteCookies(builder.Environment);

var app = builder.Build();

Expand All @@ -17,10 +17,6 @@
app.UseHttpsRedirection();
}

app.UseStaticFiles();

app.UseRouting();

app.UseServiceStack(new AppHost());

app.Run();
49 changes: 0 additions & 49 deletions api/MyApp/Startup.cs

This file was deleted.

0 comments on commit 6e11302

Please sign in to comment.