v0.17.0
This commit is contained in:
parent
bf9adfbbab
commit
f11b0e07e4
2 changed files with 4 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# Next
|
||||
# 0.17.0 (23-11-2016)
|
||||
|
||||
- Reimplemented Request middleware / filter routing.
|
||||
|
||||
|
@ -52,6 +52,8 @@ end
|
|||
end
|
||||
```
|
||||
|
||||
- Update `multipart.cr` to `v0.1.1`
|
||||
|
||||
# 0.16.1 (12-10-2016)
|
||||
|
||||
- Improved Multipart support with more info on parsed files. `parse_multipart(env)` now yields
|
||||
|
|
|
@ -38,7 +38,7 @@ module Kemal
|
|||
# This route serves the built-in images for not_found and exceptions.
|
||||
get "/__kemal__/:image" do |env|
|
||||
image = env.params.url["image"]
|
||||
file_path = File.expand_path("libs/kemal/images/#{image}", Dir.current)
|
||||
file_path = File.expand_path("lib/kemal/images/#{image}", Dir.current)
|
||||
if File.exists? file_path
|
||||
send_file env, file_path
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue