Skip to content

Invidious is an alternative front-end to YouTube

routing: remove HEAD from HTTP methods

Samantaz Foxc23ad2589915
diff --git a/src/invidious/routing.cr b/src/invidious/routing.cr
index bd72c577..9e95f7db 100644
--- a/src/invidious/routing.cr
+++ b/src/invidious/routing.cr
@@ -1,5 +1,5 @@
module Invidious::Routing
- {% for http_method in {"get", "post", "delete", "options", "patch", "put", "head"} %}
+ {% for http_method in {"get", "post", "delete", "options", "patch", "put"} %}
macro {{http_method.id}}(path, controller, method = :handle)
{{http_method.id}} \{{ path }} do |env|