mirror of
https://gitea.invidious.io/iv-org/shard-kemal.git
synced 2024-08-15 00:53:36 +00:00
Fixed samples url
This commit is contained in:
parent
924905f146
commit
2cbe54b624
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@ crystal build --release src/kemal_sample.cr
|
|||
```
|
||||
Go to *http://localhost:3000*
|
||||
|
||||
Check [samples](https://github.com/sdogruyol/kemal/tree/master/samples) for more.
|
||||
Check [samples](https://github.com/kemalcr/kemal/tree/master/samples) for more.
|
||||
|
||||
# Installation
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ class Kemal::ParamParser
|
|||
end
|
||||
|
||||
def parse_request
|
||||
{% for part in %w{query body} %}
|
||||
{% for part in %w(query body) %}
|
||||
if {{part.id}} = @request.{{part.id}}
|
||||
HTTP::Params.parse({{part.id}}) do |key, value|
|
||||
@params[key] ||= value
|
||||
|
|
Loading…
Reference in a new issue