added row in Program.cs

This commit is contained in:
2025-11-18 08:58:15 +01:00
parent 5771af2c2e
commit 5fd2e70252
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="db-tree-configuration">
<option name="data" value="----------------------------------------&#10;1:0:925a4572-e2f3-4d72-b3cf-a66d1965e808&#10;2:0:694145f6-8002-442d-a3b3-5654b5fae22b&#10;" />
</component>
</project>

View File

@@ -24,6 +24,7 @@ app.UseAuthentication()
.UseAuthorization() .UseAuthorization()
.UseFastEndpoints(options => .UseFastEndpoints(options =>
{ {
options.Endpoints.ShortNames = true;
options.Endpoints.RoutePrefix = "API"; options.Endpoints.RoutePrefix = "API";
}) })
.UseSwaggerGen(); .UseSwaggerGen();