developmentseed / titiler

Build your own Raster dynamic map tile services
https://developmentseed.org/titiler/
MIT License
765 stars 157 forks source link

fix template loading for starlette >= 0.28 #744

Closed jasongi closed 8 months ago

jasongi commented 8 months ago

What I am changing

Fixing #743 - Jinja2 template loading for starlette >=0.28

How I did it

using the env parameter rather than passing in the params to environment

How you can test it

Try startup titiler with starlette >=0.28

Related Issues

closes #743

vincentsarago commented 8 months ago

Hi, thank for the PR 🙏

I think in a first step we should release a new version of titiler with fastapi<0.106.0 and then merge this PR