diff --git a/app/config.json b/app/config.json index a64d8caf2897b74f95c63f503672d0b858324a50..9a1d1269c55e69e8e793315e88d5c726c47e538b 100644 --- a/app/config.json +++ b/app/config.json @@ -115,6 +115,13 @@ "es-ES": "license/license_g1-es-ES", "eo-EO": "license/license_g1-eo-EO" }, + "feed": { + "jsonFeed": { + "fr-FR": "feed.json", + "en": "feed.json" + }, + "maxContentLength": 650 + }, "node": { "host": "g1.duniter.fr", "port": 443 diff --git a/gulpfile.js b/gulpfile.js index 6d974a6628d816ae438a708d00dbe75bacc703ca..ea06f03abf7238b1516089f355e18f77fa4a96cf 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -342,8 +342,8 @@ function webCopyFiles() { gulp.src('./www/img/**/*.*') .pipe(gulp.dest(tmpPath + '/img')), - // Copy manifest - gulp.src('./www/manifest.json') + // Copy manifest.json, feed.json + gulp.src(['./www/manifest.json', './www/feed*.json']) .pipe(gulp.dest(tmpPath)), // Copy lib @@ -647,6 +647,9 @@ function webExtCopyFiles() { '!' + wwwPath + '/api/debug.html', '!' + wwwPath + '/debug.html', + // Remove unused files (feed.json) in extension + '!' + wwwPath + '/feed*.json', + // Add specific resource (and overwrite the default 'manifest.json') '!' + wwwPath + '/manifest.json', resourcesPath + '/**/*.*' diff --git a/scripts/release.sh b/scripts/release.sh index 005bab6b6dbc9154358e9417decaa969a4e9c2e3..c60ef0c73994afcff3f3e4d05a2d056042698285 100755 --- a/scripts/release.sh +++ b/scripts/release.sh @@ -175,7 +175,6 @@ else if [[ $? -ne 0 ]]; then exit 1 fi - fi diff --git a/www/js/config.js b/www/js/config.js index 7cc4a683878e616f2e3e07e0ef930e2c2ec1961a..df8d308804fd782049da4dd5150b66f7462007c3 100644 --- a/www/js/config.js +++ b/www/js/config.js @@ -98,7 +98,7 @@ angular.module("cesium.config", []) } }, "version": "1.5.3", - "build": "2020-03-04T18:00:55.476Z", + "build": "2020-03-05T15:07:38.518Z", "newIssueUrl": "https://git.duniter.org/clients/cesium-grp/cesium/issues/new" })