Commit 96cc6b9efd3b2f2bf15f578c16c8c1ae50a7779a
1 parent
9323de14
Exists in
master
and in
10 other branches
Fix: default is production env.
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
js/main.js
... | ... | @@ -32,7 +32,7 @@ if(participa){ |
32 | 32 | |
33 | 33 | // Set isProduction to true when at production environment |
34 | 34 | // Set isProduction to false when at development environment |
35 | -var isProduction = false; | |
35 | +var isProduction = true; // default is true | |
36 | 36 | if( isProduction ){ |
37 | 37 | var noosferoAPI = host + '/api/v1/articles/' + proposal_discussion + '?private_token=' + private_token + '&fields=id,children,categories,abstract,body,title,image,url'; |
38 | 38 | } else { | ... | ... |