From 60fdb4d4c20333d4a55b13471fcf47be0d55334a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fabrice=20PENHO=C3=8BT?= Date: Mon, 14 Sep 2020 18:46:45 +0200 Subject: [PATCH] =?UTF-8?q?Cr=C3=A9ation=20d'un=20fichier=20de=20configura?= =?UTF-8?q?tion=20d'exemple=20pour=20matomo?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 1 + config/matomo-example.js | 5 +++++ config/matomo.js | 7 ------- 3 files changed, 6 insertions(+), 7 deletions(-) create mode 100644 config/matomo-example.js delete mode 100644 config/matomo.js diff --git a/.gitignore b/.gitignore index f01a9d2..767f6dc 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ nodemon.json !example.env /config/instance* !/config/instance-example.js +/config/matomo.js # FRONT END : diff --git a/config/matomo-example.js b/config/matomo-example.js new file mode 100644 index 0000000..9e24b12 --- /dev/null +++ b/config/matomo-example.js @@ -0,0 +1,5 @@ +// Saisir l'url et l'id du site dans matomo et enregistrer le fichier sous le nom matomo.js +module.exports = +{ + matomo: { url: "https://example.tld/", siteId: "1" }, +}; \ No newline at end of file diff --git a/config/matomo.js b/config/matomo.js deleted file mode 100644 index f191859..0000000 --- a/config/matomo.js +++ /dev/null @@ -1,7 +0,0 @@ -// Si non utilisé, supprimer l'appel des JS front-end puis recompiler. -// Revoir comment réorganiser cela sous-forme de module indépendant. -module.exports = -{ - // Stats Matomo : - matomo: { url: "https://stats.le-fab-lab.com/", siteId: "5" }, -}; \ No newline at end of file