Commit Graph

5 Commits

Author SHA1 Message Date
syeopite
05c5448bc1 Update Kemal to 1.6.0 and remove Kilt
Kilt is unmaintained and the ECR templating logic has been
natively integrated into Kemal with the issues previously seen
having been resolved.

This commit is mostly a precursor to support the next Kemal
release which will add the ability to create error handlers for
raised exceptions.

See https://github.com/kemalcr/kemal/pull/688
2025-01-29 11:49:45 -08:00
Samantaz Fox
5565204273 StaticFileHandler: use HTTP::Status rather than integers 2022-08-15 13:22:39 +02:00
Samantaz Fox
d950a0ef5d StaticFileHandler: Adapt for Crystal 1.6
See:
 - https://github.com/crystal-lang/crystal/pull/12310
 - https://github.com/kemalcr/kemal/pull/644
2022-08-15 13:22:27 +02:00
Samantaz Fox
0a1614a872 Also move the other Kemal class override to src/ext/ 2022-04-16 22:48:24 +02:00
Samantaz Fox
1f66d7ef74 Keep using kilt for rendering
Directly using Crystal's ECR seems to be causing issues, so
don't use kemal's 'render' macro and patch 'content_for' to
have the same behavior as before Kemal v1.1.1
2022-04-16 22:48:24 +02:00