Skip to content

Commit 6e11302

Browse files
committed
Update Startup.cs
1 parent 1641a26 commit 6e11302

File tree

3 files changed

+2
-54
lines changed

3 files changed

+2
-54
lines changed

api/MyApp/MyApp.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<ItemGroup>
1414
<PackageReference Include="ServiceStack" Version="5.*" />
15+
<PackageReference Include="ServiceStack.Extensions" Version="5.*" />
1516
<PackageReference Include="ServiceStack.OrmLite.Sqlite" Version="5.12.1" />
1617
<PackageReference Include="ServiceStack.Server" Version="5.12.1" />
1718
</ItemGroup>

api/MyApp/Program.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
var builder = WebApplication.CreateBuilder(args);
55

66
builder.Services.AddModularStartup<AppHost>(builder.Configuration);
7-
//builder.Services.ConfigureNonBreakingSameSiteCookies(builder.Environment);
7+
builder.Services.ConfigureNonBreakingSameSiteCookies(builder.Environment);
88

99
var app = builder.Build();
1010

@@ -17,10 +17,6 @@
1717
app.UseHttpsRedirection();
1818
}
1919

20-
app.UseStaticFiles();
21-
22-
app.UseRouting();
23-
2420
app.UseServiceStack(new AppHost());
2521

2622
app.Run();

api/MyApp/Startup.cs

Lines changed: 0 additions & 49 deletions
This file was deleted.

0 commit comments

Comments
 (0)