From 9daf5a3db7eee1d5ad7c27c28e12b67c11c4cef2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pau=20Ferrer=20Oca=C3=B1a?= Date: Mon, 9 Nov 2020 13:39:58 +0100 Subject: [PATCH] MOBILE-3565 config: Remove comments from default config json --- config/config.example.json | 14 ++++++++++++++ config/config.json | 11 ----------- 2 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 config/config.example.json diff --git a/config/config.example.json b/config/config.example.json new file mode 100644 index 000000000..d160714af --- /dev/null +++ b/config/config.example.json @@ -0,0 +1,14 @@ +/** + * Application config. + * + * You can create your own environment files such as "config.prod.json" and "config.dev.json" + * to override some values. The values will be merged, so you don't need to duplicate everything + * in this file. + */ + +{ + // @todo This could be read from package.json. + "versionname": "3.9.3-dev", + // Override default language here. + "default_lang": "es" +} diff --git a/config/config.json b/config/config.json index 158bbf7f7..601928dfa 100644 --- a/config/config.json +++ b/config/config.json @@ -1,19 +1,8 @@ -/** - * Application config. - * - * You can create your own environment files such as "config.prod.json" and "config.dev.json" - * to override some values. The values will be merged, so you don't need to duplicate everything - * in this file. - */ - { "app_id": "com.moodle.moodlemobile", "appname": "Moodle Mobile", "versioncode": 3930, - - // @todo This could be read from package.json. "versionname": "3.9.3-dev", - "cache_update_frequency_usually": 420000, "cache_update_frequency_often": 1200000, "cache_update_frequency_sometimes": 3600000,