diff --git a/src/component_handler.erl b/src/component_handler.erl index 68055ca..10a7b18 100644 --- a/src/component_handler.erl +++ b/src/component_handler.erl @@ -64,7 +64,7 @@ handle_get(Req, _State=#state{}) -> end, {ok, Req4}. -expand_tag(<<"*">>, Tags) -> find_latest_tag(Tags); +expand_tag(<<"*">>, _Tags) -> <<"HEAD">>; expand_tag(Tag, Tags) -> case lists:member(Tag, Tags) of true ->