Skip to content

Commit 90c8f28

Browse files
committed
correctly initialize API url
1 parent f8b41a4 commit 90c8f28

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

apps/geoadmin-demo/src/index.html

+7-1
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@
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+
api-url="https://www.geocat.ch/geonetwork/srv/api"
13+
record-id="abc"
14+
></gn-record-view>
15+
1016
<div class="map-container">
1117
<div class="search-container">
12-
<input type="text" id="search" placeholder="Search for record.." />
18+
<input type="text" id="search" placeholder="Search for record..." />
1319
<ul id="results"></ul>
1420
</div>
1521
<iframe

0 commit comments

Comments
 (0)