aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2017-03-09 16:05:15 +0000
committerDave Arter <davea@mysociety.org>2017-03-09 16:05:15 +0000
commite955dc5dc58fc38e3feccce99de0566e92970798 (patch)
treeae93023d41b656e4563d01521dcdf6e484e75f46
parentf3c756be04931b8f6b544775149bcc05a752c9c0 (diff)
[CuidoMiCiudad] Use cuidomiciudad.mysociety.org as backend
-rw-r--r--cobrands/cuidomiciudad/config.js39
-rw-r--r--cobrands/cuidomiciudad/config.xml2
2 files changed, 40 insertions, 1 deletions
diff --git a/cobrands/cuidomiciudad/config.js b/cobrands/cuidomiciudad/config.js
new file mode 100644
index 0000000..544431e
--- /dev/null
+++ b/cobrands/cuidomiciudad/config.js
@@ -0,0 +1,39 @@
+var CONFIG = {
+ // Language of templates to use ( should be name of directory under www/templates/ )
+ LANGUAGE: 'es',
+
+ // Name of app to use in alert dialog titles amongst other things
+ APP_NAME: 'CuidoMiCiudad',
+
+ // URL of the fixmystreet install to report to. See also config.xml-example
+ // Make sure it does *not* end with a slash.
+ // FMS_URL: 'https://cuidomiciudad.fixmystreet.dev.mysociety.org',
+ FMS_URL: 'https://cuidomiciudad.mysociety.org',
+
+ // Name of the cobrand to use for templates, stylesheets etc.
+ // Cobrand files should be placed in a new directory within www/cobrands/
+ // Leave as null to use the default templates.
+ COBRAND: 'cuidomiciudad',
+
+ // Type of map to use; possible options currently are 'OSM', 'Bing' or
+ // 'FMS' (UK only). The default is OSM.
+ MAP_TYPE: 'OSM',
+
+ // 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,
+
+ // Set to 1 to log debug messages to the console
+ DEBUG: 1,
+
+ // Bing Maps API key if needed
+ BING_MAPS_API_KEY: ''
+};
diff --git a/cobrands/cuidomiciudad/config.xml b/cobrands/cuidomiciudad/config.xml
index 9b220bd..edf8542 100644
--- a/cobrands/cuidomiciudad/config.xml
+++ b/cobrands/cuidomiciudad/config.xml
@@ -27,7 +27,7 @@
<access origin="*://mapit.mysociety.org" />
<!-- Replace this with the hostname of your FMS installation -->
<access origin="https://cuidomiciudad.fixmystreet.dev.mysociety.org" />
- <access origin="*://dfdbcd34.ngrok.io" />
+ <access origin="https://cuidomiciudad.mysociety.org" />
<preference name="android-minSdkVersion" value="16" />
<preference name="orientation" value="portrait" />