File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 9
9
metadataUrls :
10
10
csw :
11
11
hrefTemplate : " https://www.nationaalgeoregister.nl/geonetwork/srv/dut/csw?service=CSW&version=2.0.2&request=GetRecordById&outputschema=http://www.isotc211.org/2005/gmd&elementsetname=full&id={{identifier}}"
12
- type :
12
+ type : alternate
13
13
opensearch :
14
14
hrefTemplate : " https://www.nationaalgeoregister.nl/geonetwork/opensearch/dut/{{identifier}}/OpenSearchDescription.xml"
15
- type :
15
+ type : alternate
16
16
html :
17
17
hrefTemplate : " https://www.nationaalgeoregister.nl/geonetwork/srv/dut/catalog.search#/metadata/{{identifier}}"
18
- type :
18
+ type : alternate
19
19
namespaceTemplate : " http://{{prefix}}.geonovum.nl"
20
20
atom :
21
21
author : # author/owner van de dataset
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ func ValidateBaseURL(baseURL string) error {
14
14
return fmt .Errorf ("invalid BaseURL: %w" , err )
15
15
}
16
16
17
- if parsed .Scheme != "https" {
17
+ if parsed .Scheme != "https" && parsed . Hostname () != "localhost" {
18
18
return errors .New ("invalid BaseURL: must use https scheme" )
19
19
}
20
20
You can’t perform that action at this time.
0 commit comments