
Product
Socket Threat Intel Now Shows Which Malware Campaigns Were Blocked or Detected
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.
@eggjs/static
Advanced tools
Static server plugin for egg, base on @eggjs/koa-static-cache.
@eggjs/static is a plugin that has been built-in for egg. It is enabled by default.
@eggjs/static support all configurations in @eggjs/koa-static-cache.
And with default configurations below:
'/public/'path.join(appInfo.baseDir, 'app/public')truefalse31536000 in prod env, 0 in other envstrue in prod env, false in other envs@eggjs/static provides one more option:
1000.All static files in $baseDir/app/public can be visited with prefix /public, and all the files are lazy loaded.
@eggjs/static will cache the assets after visited, you need to restart the process to update the assets.$baseDir/app/public but you can also define multiple directory by use dir: [dir1, dir2, ...] or dir: [dir1, { prefix: '/static2', dir: dir2 }], static server will use all these directories.// {app_root}/config/config.default.ts
export default {
static: {
// maxAge: 31536000,
},
};
Please open an issue here.
Made with contributors-img.
FAQs
static server plugin for egg
The npm package @eggjs/static receives a total of 655 weekly downloads. As such, @eggjs/static popularity was classified as not popular.
We found that @eggjs/static demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 10 open source maintainers collaborating on the project.

Product
Socket Threat Intel now shows which malware campaigns were blocked or detected in your organization, with links to scans and Firewall events.

Security News
Fixes for eMudhra and Brotli are out. Getting them everywhere they’re needed means tracking down bundled libraries, runtimes, and certificate stores.

Threat Research
/Security News
Socket uncovered secret-stealing workflows that ran in LiteLLM’s GitHub repository 11 days before the supply chain attack on PyPI and Docker.