tileserver-gl/src
Manuel Roth ea186d34df
fix: support for X-Forwarded-Host http header (#733)
* fix: fix support for overriding hostname by setting X-Forwarded-Host http header

Signed-off-by: Manuel Roth <manuelroth@hotmail.ch>

* fix: improve getUrlObject

Signed-off-by: Manuel Roth <manuelroth@hotmail.ch>

* Add documentation for getUrlObject function

Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

* Simplify getPublicUrl function

Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

* Remove variable

Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

* Use urlObject directly

Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>

* fix: small fix

Signed-off-by: Manuel Roth <manuelroth@hotmail.ch>

---------

Signed-off-by: Manuel Roth <manuelroth@hotmail.ch>
Co-authored-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
2023-01-31 20:35:16 -05:00
..
healthcheck.js change docker to use port 8080 by default (#638) 2022-11-20 23:00:41 -05:00
main.js style: fix lint issues in code 🕺 (#626) 2022-11-08 22:56:07 -05:00
serve_data.js fix: fix vectortile constructor (#723) 2023-01-20 17:41:18 -05:00
serve_font.js fix: Ensure font serving does not reflect userdata-derived errors as HTML (#647) 2022-11-24 11:07:11 -05:00
serve_light.js style: fix lint issues in code 🕺 (#626) 2022-11-08 22:56:07 -05:00
serve_rendered.js feat: enable Google Polyline in Static Images endpoint 🕺 (#648) 2023-01-12 15:48:43 -05:00
serve_style.js style: fix lint issues in code 🕺 (#626) 2022-11-08 22:56:07 -05:00
server.js style: fix lint issues in code 🕺 (#626) 2022-11-08 22:56:07 -05:00
utils.js fix: support for X-Forwarded-Host http header (#733) 2023-01-31 20:35:16 -05:00