We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 228dc29 commit 6cfbb10Copy full SHA for 6cfbb10
README.md
@@ -23,7 +23,7 @@ It showcases:
23
## Prerequisites
24
25
### .NET
26
-1. [Install .NET 8](https://dotnet.microsoft.com/en-us/download/dotnet/8.0)
+1. [Install .NET 9](https://dotnet.microsoft.com/en-us/download/dotnet/9.0)
27
28
### Database
29
Todo.Api/Program.cs
@@ -44,14 +44,17 @@
44
45
if (app.Environment.IsDevelopment())
46
{
47
- app.MapScalarApiReference();
+ app.MapScalarApiReference(options =>
48
+ {
49
+ options.Servers = [];
50
+ });
51
}
52
53
app.MapOpenApi();
54
55
app.MapDefaultEndpoints();
56
-app.Map("/", () => Results.Redirect("/swagger"));
57
+app.Map("/", () => Results.Redirect("/scalar/v1"));
58
59
// Configure the APIs
60
app.MapTodos();
0 commit comments