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,