Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix readme

  • Loading branch information...
commit f42fd9c85459df8c964a1feae2197bb347e00dfd 1 parent 3c29392
@tih-ra authored
Showing with 2 additions and 8 deletions.
  1. +2 −8 README.md
View
10 README.md
@@ -46,14 +46,8 @@ You can use `storage: 'aws'` for store files on Amazon S3 or `storage: 'dir'` fo
**Upload example**
```javascript
- app.post('/upload', function(req, res) {
- alleup.upload(req, res, function(err, file, res){
-
- console.log("FILE UPLOADED: " + file);
- // THIS YOU CAN SAVE FILE TO DATABASE FOR EXAMPLE
- res.end();
- });
- });
+ var Alleup = require('alleup');
+ var alleup = new Alleup({storage : "aws", config_file: "path_to_alleup_config.json"})
**Get file url example**
Please sign in to comment.
Something went wrong with that request. Please try again.