aboutsummaryrefslogtreecommitdiffstats
path: root/notices/notices.js
diff options
context:
space:
mode:
authorEsteban MIno <efmino@uc.cl>2018-08-04 02:56:02 +0800
committerEsteban MIno <efmino@uc.cl>2018-08-04 02:56:02 +0800
commit21a61f2987ae83a48bb1f7256ec9c34978413eb2 (patch)
tree3bc9ef3d342f17269942cd3fe58da1f3b97ef214 /notices/notices.js
parent0481335dda447ba4c228d146834952bac0ad641b (diff)
parentfa4423bab2886017996955f809b6e3102cbf1781 (diff)
downloadtangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.tar
tangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.tar.gz
tangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.tar.bz2
tangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.tar.lz
tangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.tar.xz
tangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.tar.zst
tangerine-wallet-browser-21a61f2987ae83a48bb1f7256ec9c34978413eb2.zip
merge develop
Diffstat (limited to 'notices/notices.js')
-rw-r--r--notices/notices.js11
1 files changed, 6 insertions, 5 deletions
diff --git a/notices/notices.js b/notices/notices.js
index 4ba925408..6392b6381 100644
--- a/notices/notices.js
+++ b/notices/notices.js
@@ -1,5 +1,6 @@
// fs.readFileSync is inlined by browserify transform "brfs"
const fs = require('fs')
+const path = require('path')
module.exports = [
{
@@ -7,14 +8,14 @@ module.exports = [
read: false,
date: 'Thu Feb 09 2017',
title: 'Terms of Use',
- body: fs.readFileSync(__dirname + '/archive/notice_0.md', 'utf8'),
+ body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_0.md'), 'utf8'),
},
{
id: 2,
read: false,
date: 'Mon May 08 2017',
title: 'Privacy Notice',
- body: fs.readFileSync(__dirname + '/archive/notice_2.md', 'utf8'),
+ body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_2.md'), 'utf8'),
},
{
id: 3,
@@ -22,13 +23,13 @@ module.exports = [
date: 'Tue Nov 28 2017',
title: 'Seed Phrase Alert',
firstVersion: '<=3.12.0',
- body: fs.readFileSync(__dirname + '/archive/notice_3.md', 'utf8'),
+ body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_3.md'), 'utf8'),
},
{
id: 4,
read: false,
date: 'Wed Jun 13 2018',
title: 'Phishing Warning',
- body: fs.readFileSync(__dirname + '/archive/notice_4.md', 'utf8'),
- }
+ body: fs.readFileSync(path.join(__dirname, '/archive', 'notice_4.md'), 'utf8'),
+ },
]