aboutsummaryrefslogtreecommitdiffstats
path: root/www/js/config.js-example
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/config.js-example')
-rw-r--r--www/js/config.js-example22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/js/config.js-example b/www/js/config.js-example
new file mode 100644
index 0000000..f5648a9
--- /dev/null
+++ b/www/js/config.js-example
@@ -0,0 +1,22 @@
+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
+ 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
+};