Skip to content

Commit

Permalink
Merge pull request #41 from LukasLohoff/application-docs
Browse files Browse the repository at this point in the history
Minor improvements to the application docs
  • Loading branch information
jahow authored May 6, 2024
2 parents 0a4c598 + 1afbd55 commit f7705a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion app/src/Docs.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}</pre
Expand Down

0 comments on commit f7705a0

Please sign in to comment.