Remove unnecessary check in gruntfile

There's only one reference to the server url nowadays.

// FREEBIE
This commit is contained in:
lilia 2015-10-16 18:18:25 -07:00
parent 389b9a026d
commit b0112e8c2e

View file

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