]> git.openstreetmap.org Git - nominatim.git/commit
allow to add php-compatible endpoints
authorSarah Hoffmann <lonvia@denofr.de>
Tue, 24 Jan 2023 20:36:45 +0000 (21:36 +0100)
committerSarah Hoffmann <lonvia@denofr.de>
Tue, 24 Jan 2023 20:39:19 +0000 (21:39 +0100)
commitf85b0c62083563c1d21b4c2e1720c919e9dfc74d
tree9b6188feac017a0f7fe8d7231deb04eee5b88555
parente490a30a4a926a55543fe3222e808233069b869e
allow to add php-compatible endpoints

If the new setting NOMINATIM_SERVE_LEGACY_URLS is set, the servers
expose the endpoints also with the .php suffix to ensure backwards
compatibility.
nominatim/server/falcon/server.py
nominatim/server/sanic/server.py
nominatim/server/starlette/server.py
settings/env.defaults