|
|
4 ani în urmă | |
|---|---|---|
| .. | ||
| tests | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| .travis.yml | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| CHANGELOG.md | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| LICENSE.md | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| README.md | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| access-point-client.js | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| access-point-common.js | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| access-point-handlers.js | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| access-point-server.js | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| api.md | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| internal.api.md | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |
| package.js | c2da477735 Fixed Non-ASCII attachment filename will crash when downloading. | 4 ani în urmă |

This is a Meteor package used by CollectionFS.
You don't need to manually add this package to your app. It is added when you
add the wekan-cfs-standard-packages package. You could potentially use your own access point
package instead.
To define a URL that accepts GET requests and returns a list of published files in a FS.Collection:
Images = new FS.Collection("images", {
stores: [myStore]
});
FS.HTTP.publish(Images, function () {
// `this` provides a context similar to Meteor.publish
return Images.find();
});
The URL will be '/cfs/record/images', where the cfs piece is configurable
using the FS.HTTP.setBaseUrl method.