diff options
-rw-r--r-- | erlang.mk | 2 | ||||
-rw-r--r-- | plugins/bootstrap.mk | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -421,7 +421,7 @@ tpl_cowboy_rest = "-module($(n))." \ " {upgrade, protocol, cowboy_rest}." \ "" \ "content_types_provided(Req, State) ->" \ - " {[{{<<\"text\">>, <<\"html\">>, '_'}, get_html}], Req, State}." \ + " {[{{<<\"text\">>, <<\"html\">>, '*'}, get_html}], Req, State}." \ "" \ "get_html(Req, State) ->" \ " {<<\"<html><body>This is REST!</body></html>\">>, Req, State}." diff --git a/plugins/bootstrap.mk b/plugins/bootstrap.mk index c3615be..084cde3 100644 --- a/plugins/bootstrap.mk +++ b/plugins/bootstrap.mk @@ -162,7 +162,7 @@ tpl_cowboy_rest = "-module($(n))." \ " {upgrade, protocol, cowboy_rest}." \ "" \ "content_types_provided(Req, State) ->" \ - " {[{{<<\"text\">>, <<\"html\">>, '_'}, get_html}], Req, State}." \ + " {[{{<<\"text\">>, <<\"html\">>, '*'}, get_html}], Req, State}." \ "" \ "get_html(Req, State) ->" \ " {<<\"<html><body>This is REST!</body></html>\">>, Req, State}." |