|
|
@ -123,7 +123,7 @@ module.exports = function(grunt) {
|
|
|
|
files: [{ expand: true, dest: 'dist/', src: ['<%= dist.src %>'] }],
|
|
|
|
files: [{ expand: true, dest: 'dist/', src: ['<%= dist.src %>'] }],
|
|
|
|
options: {
|
|
|
|
options: {
|
|
|
|
process: function(content, srcpath) {
|
|
|
|
process: function(content, srcpath) {
|
|
|
|
if (srcpath.match('libtextsecure') || srcpath.match('background.js')) {
|
|
|
|
if (srcpath.match('background.js')) {
|
|
|
|
return content.replace(
|
|
|
|
return content.replace(
|
|
|
|
/textsecure-service-staging.whispersystems.org/g,
|
|
|
|
/textsecure-service-staging.whispersystems.org/g,
|
|
|
|
'textsecure-service-ca.whispersystems.org:4433');
|
|
|
|
'textsecure-service-ca.whispersystems.org:4433');
|
|
|
|