
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@cloudimage-strapi/content-plugin
Advanced tools
npm install @cloudimage-strapi/content-plugin
config/middlewares.js
Replace 'strapi::security',
with:
{
name: 'strapi::security',
config: {
contentSecurityPolicy: {
useDefaults: true,
directives: {
'connect-src': ["'self'", 'https:'],
'img-src': ["'self'", 'data:', 'blob:', 'scaleflex.cloudimg.io', 'assets.scaleflex.com', '*.cloudimg.io'],
'media-src': ["'self'", 'data:', 'blob:', 'scaleflex.cloudimg.io', 'assets.scaleflex.com', '*.cloudimg.io'],
upgradeInsecureRequests: null,
},
},
},
},
config/server.js
Append url: 'domain (including the http/https:// part)'
Eg: if you website is called mywebsite.com
, then write like this:
module.exports = ({ env }) => ({
host: env('HOST', '0.0.0.0'),
port: env.int('PORT', 1337),
app: {
keys: env.array('APP_KEYS'),
},
url: 'https://www.mywebsite.com',
});
It’s very important that you don’t forget to do this
If you enter nothing or an invalid token, you will get this error.
In the rare case that we can’t auto-detect whether token is v7 or not, you will get the option to manually set it.
FAQs
Strapi v4 plugin for Cloudimage by Scaleflex
The npm package @cloudimage-strapi/content-plugin receives a total of 1 weekly downloads. As such, @cloudimage-strapi/content-plugin popularity was classified as not popular.
We found that @cloudimage-strapi/content-plugin demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.