geojson-tile-server icon indicating copy to clipboard operation
geojson-tile-server copied to clipboard

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

Open psociety opened this issue 3 years ago • 0 comments

Ty for creating this server!

Everytime i visit a layer that doesn't exist (aka returns Layer not found message), like: http://localhost:8123/d/20/530592/391566.geojson

The server outputs the following message:

Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
    at ServerResponse.setHeader (_http_outgoing.js:561:11)

psociety avatar Sep 04 '21 19:09 psociety