Use production server in /dist

This commit is contained in:
lilia 2015-05-07 14:45:07 -07:00
parent 65c069b3d3
commit 7da9a1d5a7

View file

@ -134,7 +134,16 @@ module.exports = function(grunt) {
},
copy: {
dist: {
files: [{ expand: true, dest: 'dist/', src: ['<%= dist.src %>'] }]
files: [{ expand: true, dest: 'dist/', src: ['<%= dist.src %>'] }],
options: {
process: function(content, srcpath) {
return content.replace(
/textsecure-service-staging.whispersystems.org/g,
'textsecure-service.whispersystems.org').replace(
/whispersystems-textsecure-attachments-staging.s3.amazonaws.com/g,
'whispersystems-textsecure-attachments.s3.amazonaws.com');
}
}
}
},
jscs: {