Skip to content

Commit

Permalink
Merge pull request #213 from PDOK/fix-type
Browse files Browse the repository at this point in the history
fix(json): Serve correct response for alternate representation.
  • Loading branch information
rkettelerij authored Jul 8, 2024
2 parents 632e4cc + a95ade5 commit b890589
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"rel" : "alternate",
"type" : "text/html",
"title" : "Information about the {{ $coll.ID }} collection as HTML",
"href" : "{{ $baseUrl }}/collections/{{ $coll.ID }}?f=json"
"href" : "{{ $baseUrl }}/collections/{{ $coll.ID }}?f=html"
}
{{ if and $cfg.OgcAPI.GeoVolumes $cfg.OgcAPI.GeoVolumes.Collections }}
{{ if $cfg.OgcAPI.GeoVolumes.Collections.ContainsID $coll.ID }}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"rel": "alternate",
"type": "text/html",
"title": "Information about the ligplaatsen collection as HTML",
"href": "http://localhost:8080/collections/ligplaatsen?f=json"
"href": "http://localhost:8080/collections/ligplaatsen?f=html"
},
{
"rel": "items",
Expand Down Expand Up @@ -79,7 +79,7 @@
"rel": "alternate",
"type": "text/html",
"title": "Information about the standplaatsen collection as HTML",
"href": "http://localhost:8080/collections/standplaatsen?f=json"
"href": "http://localhost:8080/collections/standplaatsen?f=html"
},
{
"rel": "items",
Expand Down

0 comments on commit b890589

Please sign in to comment.