]> git.openstreetmap.org Git - nominatim.git/blobdiff - nominatim/server/starlette/server.py
make code work with Spatialite 4.3
[nominatim.git] / nominatim / server / starlette / server.py
index 19a9943c9ecce33d8184bcabe1a572bb1fe1e1b7..33ab22c7bcee7c2b1994ab56496acec886f38d30 100644 (file)
@@ -93,7 +93,7 @@ class FileLoggingMiddleware(BaseHTTPMiddleware):
 
         finish = dt.datetime.now(tz=dt.timezone.utc)
 
-        for endpoint in ('reverse', 'search', 'lookup'):
+        for endpoint in ('reverse', 'search', 'lookup', 'details'):
             if request.url.path.startswith('/' + endpoint):
                 qtype = endpoint
                 break