aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--erlang.mk2
-rw-r--r--plugins/bootstrap.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/erlang.mk b/erlang.mk
index 12c2502..4d4d138 100644
--- a/erlang.mk
+++ b/erlang.mk
@@ -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}."