Skip to content
This repository has been archived by the owner on Dec 23, 2023. It is now read-only.

Beta - Strapi v4: README updates #21

Closed
jaskipper opened this issue Feb 25, 2022 · 0 comments
Closed

Beta - Strapi v4: README updates #21

jaskipper opened this issue Feb 25, 2022 · 0 comments

Comments

@jaskipper
Copy link
Contributor

The README for the beta for Strapi v4 needs updating.

The "How to customize editor" is not functioning at this time. We need to figure out how to do this with the new setup and then update the documentation.

The Link tool thumbnails are being blocked by Strapi's content security policy. The workaround at this time is to replace the 'strapi::security' line in ./config/middlewares.js to the following (do this at your own risk).

module.exports = [
  // ...
  {
    name: 'strapi::security',
    config: {
      contentSecurityPolicy: {
        directives: {
          'img-src': ['*'],
        },
      }
    },
  },
  // ...
];

I'm not certain if there is a way we can override this directly from the plugin or not.

At this time, it's not necessary to give Public and Authenticated role access to the plugin API. ./server/routes/index.js is configured to auth: false. I don't know if this is a security issue or not. Should we leave it up to the user to give Public and Authenticated role access, or can we leave it with auth: false?

@jaskipper jaskipper changed the title beta - Strapi v4 README updates Beta - Strapi v4: README updates Feb 25, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant