Set correct Content-Type

This commit is contained in:
D. Berge
2025-07-28 10:06:21 +02:00
parent 1433bda14e
commit 3bb78040b0

View File

@@ -4,6 +4,7 @@ const { gis } = require('../../../../lib/db');
module.exports = async function (req, res, next) {
try {
res.set("Content-Type", "application/geo+json");
res.status(200).send(await gis.project.bbox(req.params.project));
next();
} catch (err) {