Use production server in /dist

pull/749/head
lilia 10 years ago
parent 65c069b3d3
commit 7da9a1d5a7

@ -134,7 +134,16 @@ module.exports = function(grunt) {
}, },
copy: { copy: {
dist: { 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: { jscs: {

Loading…
Cancel
Save