mattmilburn/strapi-plugin-preview-button

Button is not displayed

toxicity1985 opened this issue · 0 comments

Hello,

I have an issue with the following configuration. It seems when i check the api call that you made to get the configuration defined in the but it's always return an empty value. I also have setted the environment variable.

module.exports = {
  'preview-button': {
    enabled: true,
    config: {
      contentTypes: [
        {
          uid: "api::homepage.homepage",
        },
        {
          uid: "api::product.product",
          targetField: "id"
        }
      ],
    },
  },
};