aboutsummaryrefslogtreecommitdiffstats
path: root/src/js/config.js-example
blob: 4ec1ae6a5a2b723c67032a8085625d048a2aaa8b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
var CONFIG = {
    // Language of templates to use ( should be name of directory under src/templates/ )
    LANGUAGE: '',

    // Name of app to use in alert dialog titles amongst other things
    APP_NAME: '',

    // URL of the fixmystreet install to report to, e.g
    // http://www.fixmystreet.com/ - you must include the http
    FMS_URL: '',

    // namespace for storing drafts etc in. Should not need to change
    NAMESPACE: 'fixmystreet',

    // directory to store draft photos in. Should not need to change
    FILES_DIR: 'photos',

    // accuracy in meters required before geolocation is successful
    ACCURACY: 100,

    // how long, in milliseconds, before photo uploads timeout. Defaults to 120000 ( 2 minutes )
    UPLOAD_TIMEOUT: 120000,

    // leave this at 0 otherwise it will use the fixmystreet tile set
    // which only covers the UK
    isUK: 0
};