Summary: Storing projects in AWS s3.
Issue: Whenever external storageModule is used, Projects API is returning 404.
settings.js
projects: {
enabled: true,
workflow: {
mode: "manual"
},
},
storageModule: require('./node-red-contrib-storage-s3')
@node-red/editor-api/lib/editor/projects.js
app.use(function(req,res,next) {
runtimeAPI.projects.available().then(function(available) {
if (!available) {
res.status(404).end();
} else {
next();
}
})
});
@node-red/runtime/lib/api/projects.js
available: async function(opts) {
return !!runtime.storage.projects;
},
Can storgeAPI support get and set projects to aws s3 storage or Can you please let me know if there is any way to configure projects for AWS S3 storage.
Thanks.