Commit 6ea5093684ab4c99ece2ff820a82f4b5ae41d4c0

Authored by Erickson Silva
1 parent 2e36006e
Exists in master and in 1 other branch devel

Corrige URL de retorno

Showing 2 changed files with 4 additions and 2 deletions   Show diff stats
helpers/properties.js
... ... @@ -2,8 +2,9 @@ var host = '0.0.0.0';
2 2 var port = 5000;
3 3 var SERVER_IP = '150.165.204.30';
4 4 var uploads_folder = './uploads/';
  5 +var ip = require('ip');
5 6  
6 7 module.exports.host = host;
7 8 module.exports.port = port;
8 9 module.exports.uploads_folder = uploads_folder;
9   -module.exports.SERVER_IP = SERVER_IP;
10 10 \ No newline at end of file
  11 +module.exports.SERVER_IP = ip.address();
11 12 \ No newline at end of file
... ...
package.json
... ... @@ -13,6 +13,7 @@
13 13 "async": "^0.9.0",
14 14 "express": "~3.5.1",
15 15 "mkdirp": "^0.5.0",
16   - "node-uuid": "^1.4.1"
  16 + "node-uuid": "^1.4.1",
  17 + "ip": "latest"
17 18 }
18 19 }
... ...