Allow custom components in cloud
This commit is contained in:
parent
64ee1677e6
commit
c1b0e126af
|
@ -33,8 +33,6 @@ exports.fetchAppComponentDefinitions = async function (ctx) {
|
|||
}
|
||||
}
|
||||
|
||||
// for now custom components only supported in self-host
|
||||
if (env.SELF_HOSTED) {
|
||||
// Add custom components
|
||||
const globalDB = getGlobalDB()
|
||||
const response = await globalDB.allDocs(
|
||||
|
@ -52,7 +50,6 @@ exports.fetchAppComponentDefinitions = async function (ctx) {
|
|||
...plugin.schema.schema,
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
ctx.body = definitions
|
||||
} catch (err) {
|
||||
|
|
Loading…
Reference in New Issue