mirror of
https://github.com/ninenines/cowboy.git
synced 2025-07-16 05:00:24 +00:00
Merge branch 'patched' of git://github.com/kukhyun/cowboy
This commit is contained in:
commit
3b4c0588e9
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ create_paste(Req, State) ->
|
|||
ok = file:write_file(full_path(PasteID), Paste),
|
||||
case cowboy_req:method(Req3) of
|
||||
{<<"POST">>, Req4} ->
|
||||
{<<$/, PasteID/binary>>, Req4, State};
|
||||
{{true, <<$/, PasteID/binary>>}, Req4, State};
|
||||
{_, Req4} ->
|
||||
{true, Req4, State}
|
||||
end.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue