Skip to content

Latest commit

 

History

History
43 lines (23 loc) · 1.18 KB

settings-custom-json.md

File metadata and controls

43 lines (23 loc) · 1.18 KB

Geotrek-rando documentation

‹ Back to Settings & customization

settings.custom.json

This file should remain a valid JSON file. Remember to check its validity each time you alter it.

This file should be placed and edited in custom/.

Options

PLATFORM_ID

Type: string Default: geotrek-rando

This id is used as unique identifier for storing user data in browser. It should be unique to avoid colliding with other geotrek-rando deployments.

API_URL

Type: string Default: /tests/dataset

This should reflect the URL of your data source. It could be either a path pointing to a local directory containing static datas generated by Geotrek-rando (e.g. /data), or an absolute URI pointing to a Geotrek-admin API.

BACKOFFICE_URL

Type: string Default: empty string

Absolute URL to the Geotrek-admin instance used to post data from reporting form.

ENABLE_HTML_MODE

Type: boolean Default: false

Used to enable or disable AngularJS $location service html5Mode

See AngularJS documentation for more details about using $location.