Skip to content

Commit

Permalink
Fixed API routing.
Browse files Browse the repository at this point in the history
  • Loading branch information
petersirka committed Jun 23, 2023
1 parent c904117 commit 9bc6a91
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.bundle

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion plugins/files/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ exports.install = function() {
ROUTE('+POST /upload/{db}/', upload, ['upload'], 1024 * 100); // max. 100 MB
ROUTE('+POST /files/{db}/', upload, ['upload'], 1024 * 100); // max. 100 MB
ROUTE('+POST /url/{db}/', upload_url);
ROUTE('+GET /files/{db}/ *Files --> query');
ROUTE('+GET /files/{db}/ *Files --> list');
ROUTE('+GET /files/{db}/{id}/ *Files --> read');
ROUTE('+POST /files/{db}/{id}/ *Files --> update');
ROUTE('+DELETE /files/{db}/{id}/ *Files --> remove');
Expand Down

0 comments on commit 9bc6a91

Please sign in to comment.