Przeglądaj źródła

Correct request version

Jake 10 lat temu
rodzic
commit
30f1052f90
2 zmienionych plików z 3 dodań i 4 usunięć
  1. 0 1
      modules/networking.js
  2. 3 3
      package.json

+ 0 - 1
modules/networking.js

@@ -41,7 +41,6 @@ exp.extract_cape_url = function(profile) {
 // specified. +callback+ contains the body, response,
 // and error buffer. get_from helper method is available
 exp.get_from_options = function(url, options, callback) {
-  console.log("HERE: " + config.http_timeout)
   request.get({
     url: url,
     headers: {

+ 3 - 3
package.json

@@ -29,10 +29,10 @@
     "canvas": "1.1.6",
     "jade": "~1.8.2",
     "lwip": "0.0.6",
-    "redis": "0.12.1",
-    "request": "2.51.1",
+    "mime": "1.2.11",
     "node-df": "0.1.1",
-    "mime": "1.2.11"
+    "redis": "0.12.1",
+    "request": "^2.51.0"
   },
   "devDependencies": {
     "coveralls": "^2.11.2",