vivmagarwal / strapi-plugin-custom-api-builder

36 stars 9 forks source link

Incorrect instructions on Strapi Market #8

Open cjboco opened 2 years ago

cjboco commented 2 years ago

On Strapi Market (https://market.strapi.io/plugins/strapi-plugin-custom-api#install-now-section)

You have:

Add the following config to /config/plugins.js file

module.exports = {
  "custom-api": {
    enabled: true,
    resolve: "./src/plugins/custom-api",
  },
};

This fails, since on BUILD, it can't resolve the path. On the GitHub page, you have:

module.exports = {
  "custom-api": {
    enabled: true
  },
};

... which seems to work.

vivmagarwal commented 1 year ago

fixed! https://www.npmjs.com/package/strapi-plugin-custom-api Thanks for raising.