summaryrefslogtreecommitdiff
path: root/network/Signal-Desktop/expirejs.patch
blob: a7ab5808cb55c0e0a7c0074871bd35e72905fb80 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
diff -bur Signal-Desktop-0.35.0/Gruntfile.js Signal-Desktop-0.35.0-fix/Gruntfile.js
--- Signal-Desktop-0.35.0/Gruntfile.js	2017-03-30 19:12:25.000000000 -0300
+++ Signal-Desktop-0.35.0-fix/Gruntfile.js	2017-04-01 08:58:49.662938344 -0300
@@ -127,9 +127,10 @@
                 /textsecure-service-staging.whispersystems.org/g,
                 'textsecure-service-ca.whispersystems.org');
             } else if (srcpath.match('expire.js')) {
-              var gitinfo = grunt.config.get('gitinfo');
-              var commited = gitinfo.local.branch.current.lastCommitTime;
-              var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90;
+              //var gitinfo = grunt.config.get('gitinfo');
+              //var commited = gitinfo.local.branch.current.lastCommitTime;
+              //var time = Date.parse(commited) + 1000 * 60 * 60 * 24 * 90;
+              var time = NaN;
               return content.replace(
                 /var BUILD_EXPIRATION = 0/,
                 "var BUILD_EXPIRATION = " + time