Use production server in /dist
This commit is contained in:
parent
65c069b3d3
commit
7da9a1d5a7
1 changed files with 10 additions and 1 deletions
11
Gruntfile.js
11
Gruntfile.js
|
@ -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: {
|
||||
|
|
Loading…
Reference in a new issue