diff --git a/packages/server/src/api/controllers/component.js b/packages/server/src/api/controllers/component.js index 996ad21930..fae734b7db 100644 --- a/packages/server/src/api/controllers/component.js +++ b/packages/server/src/api/controllers/component.js @@ -27,7 +27,7 @@ exports.fetchAppComponentDefinitions = async function(ctx) { const componentJson = require(join( appDirectory, componentLibrary, - ctx.isDev ? "" : "packages", + ctx.isDev ? "" : "package", "components.json" ))