Skip to content

Commit 8f69734

Browse files
committed
correctly initialize API url
1 parent f8b41a4 commit 8f69734

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

apps/geoadmin-demo/src/index.html

+8-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,16 @@
77
<script src="https://cdn.jsdelivr.net/gh/camptocamp/geocat-geonetwork-ui@wc-dist-geocat-gpf/gn-wc.js"></script>
88
</head>
99
<body>
10+
<!-- this initializes the API url -->
11+
<gn-record-view
12+
style="display: none"
13+
api-url="https://www.geocat.ch/geonetwork/srv/api"
14+
record-id="8698bf0b-fceb-4f0f-989b-111e7c4af0a4"
15+
></gn-record-view>
16+
1017
<div class="map-container">
1118
<div class="search-container">
12-
<input type="text" id="search" placeholder="Search for record.." />
19+
<input type="text" id="search" placeholder="Search for record..." />
1320
<ul id="results"></ul>
1421
</div>
1522
<iframe

0 commit comments

Comments
 (0)