mirror of
				https://github.com/iv-org/invidious.git
				synced 2025-10-31 04:32:02 +00:00 
			
		
		
		
	Fix #3265
This commit is contained in:
		| @@ -4,7 +4,7 @@ module Invidious::Routing | ||||
|   {% for http_method in {"get", "post", "delete", "options", "patch", "put"} %} | ||||
|  | ||||
|     macro {{http_method.id}}(path, controller, method = :handle) | ||||
|       unless !Kemal::Utils.path_starts_with_slash?(\{{path}}) | ||||
|       unless Kemal::Utils.path_starts_with_slash?(\{{path}}) | ||||
|         raise Kemal::Exceptions::InvalidPathStartException.new({{http_method}}, \{{path}}) | ||||
|       end | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Samantaz Fox
					Samantaz Fox