Skip to content
Browse files

removed hardcoded .json from remote file appendix

  • Loading branch information...
1 parent 9d92ca4 commit ea69ed8c85f72506412af3c9800886e9bce29229 @sreuter committed
Showing with 5 additions and 5 deletions.
  1. +1 −1 README.md
  2. +2 −2 index.js
  3. +2 −2 package.json
View
2 README.md
@@ -1,7 +1,7 @@
booty
=====
-Easy, distributed app config management backed by S3.
+Simple, distributed app config management backed by S3.
Usage:
View
4 index.js
@@ -13,7 +13,7 @@ var Booty = module.exports = function(options) {
};
Booty.prototype.getConfig = function(id,dest,key,cb) {
- this.client.getFile('/' + id + '.json.enc', function(err, res){
+ this.client.getFile('/' + id + '.enc', function(err, res){
if(err || res.statusCode !== 200) {
cb(err || new Error("Not status code 200"));
} else {
@@ -41,7 +41,7 @@ Booty.prototype.putConfig = function(id,src,key,cb) {
'Content-Length': fstat.size
};
- var req = this.client.put('/' + id + '.json.enc', headers);
+ var req = this.client.put('/' + id + '.enc', headers);
req.on('response', function(res) {
if(res.statusCode !== 200) {
View
4 package.json
@@ -1,7 +1,7 @@
{
"name": "booty",
- "version": "0.1.1",
- "description": "Easy, distributed app config management backed by S3",
+ "version": "0.1.2",
+ "description": "Simple, distributed app config management backed by S3",
"main": "index.js",
"bin": {
"booty": "bin/booty"

0 comments on commit ea69ed8

Please sign in to comment.
Something went wrong with that request. Please try again.