diff --git a/README.md b/README.md index 571b2f6..6e23d1d 100644 --- a/README.md +++ b/README.md @@ -54,6 +54,7 @@ A provided application containing the documentation and demo is located in the ` To start it locally, clone the repository and run the following commands: ```bash +$ npm install $ cd app $ npm install $ npm start diff --git a/app/src/Docs.vue b/app/src/Docs.vue index cc9d2ba..986784b 100644 --- a/app/src/Docs.vue +++ b/app/src/Docs.vue @@ -181,7 +181,7 @@ async function getFeatureUrl() { import { OgcApiEndpoint } from '@camptocamp/ogc-client'; async function getFirstTenRecords() { - const endpoint = await new OgcApiEndpoint('https://my.server.org/main') + const endpoint = new OgcApiEndpoint('https://my.server.org/main'); const firstCollection = (await endpoint.recordCollections)[0]; return endpoint.getCollectionItems(firstCollection, 10, 0); }