@cocreate/file
Version:
A versatile, configurable headless file uploader supporting local and server operations. Accessible via a JavaScript API and HTML5 attributes, it provides seamless file reading, writing, and uploading with fallbacks to the standard HTML5 file input API. I
23 lines • 610 B
JavaScript
module.exports = {
"organization_id": "",
"key": "",
"host": "",
"sources": [
{
"array": "files",
"object": {
"_id": "61a12db2a8b6b4001a9f5a2e",
"name": "index.html",
"path": "/docs/file/",
"pathname": "/docs/file/index.html",
"src": "{{./docs/index.html}}",
"host": [
"*"
],
"directory": "file",
"content-type": "{{content-type}}",
"public": "true"
}
}
]
};