added row in Program.cs
This commit is contained in:
6
.idea/.idea.ApiEfCoreLibrary/.idea/db-forest-config.xml
generated
Normal file
6
.idea/.idea.ApiEfCoreLibrary/.idea/db-forest-config.xml
generated
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="db-tree-configuration">
|
||||||
|
<option name="data" value="---------------------------------------- 1:0:925a4572-e2f3-4d72-b3cf-a66d1965e808 2:0:694145f6-8002-442d-a3b3-5654b5fae22b " />
|
||||||
|
</component>
|
||||||
|
</project>
|
||||||
@@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user