Skip to content

Commit

Permalink
added simplified rel's for conformance and data
Browse files Browse the repository at this point in the history
  • Loading branch information
lathoub committed Sep 14, 2024
1 parent 39640e6 commit 33c543b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/models/common/core/landingPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,12 @@ function get(neutralUrl, format, callback) {
title: `OGC API conformance classes implemented by this server`,
});

content.links.push({
href: urlJoin(neutralUrl, "conformance"),
rel: `conformance`,
title: `OGC API conformance classes implemented by this server`,
});

content.links.push({
href: urlJoin(neutralUrl, "api?f=json"),
rel: `service-desc`,
Expand All @@ -84,6 +90,12 @@ function get(neutralUrl, format, callback) {
title: `Access the data`,
});

content.links.push({
href: urlJoin(neutralUrl, "collections"),
rel: `data`,
title: `Access the data`,
});

content.links.push({
href: urlJoin(neutralUrl, "processes"),
type: `application/json`,
Expand Down

0 comments on commit 33c543b

Please sign in to comment.