From 9d99c2a9c867b178c88b8b3296a0198dad284db4 Mon Sep 17 00:00:00 2001 From: uwaa Date: Sun, 19 Jan 2025 01:26:42 +0000 Subject: [PATCH] http: allow Any method on static endpoint --- HTTP/Routing/StaticEndpoint.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HTTP/Routing/StaticEndpoint.cs b/HTTP/Routing/StaticEndpoint.cs index f388edc..d83d3e6 100644 --- a/HTTP/Routing/StaticEndpoint.cs +++ b/HTTP/Routing/StaticEndpoint.cs @@ -9,7 +9,7 @@ public class StaticEndpoint : RouterBase Response = response; } - public override HttpMethod Method => HttpMethod.GET; + public override HttpMethod Method => HttpMethod.Any; public override int Arguments => 0;