Skip to content

Commit ee85f26

Browse files
committed
Change root endpoint to GET method
This is just a test.. for some reason HEAD is not allowed in staging although it works on edge
1 parent e20d6c4 commit ee85f26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/Elastic.Documentation.Api.Infrastructure/MappingsExstension.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public static class MappingsExtension
1515
{
1616
public static void MapElasticDocsApiEndpoints(this IEndpointRouteBuilder group)
1717
{
18-
_ = group.MapMethods("/", [HttpMethods.Head], () => Results.Empty);
18+
_ = group.MapGet("/", () => Results.Empty);
1919
MapAskAiEndpoint(group);
2020
MapSearchEndpoint(group);
2121
}

0 commit comments

Comments
 (0)