eggjs / eggjs/egg

egg-static should support CORS setting

Open
#4,861 2 comments 0 reactions 0 assignees View on GitHub
Inactive
Dominant language
TypeScript
Stars
19k
Forks
1.8k
PR merge metrics
No merged PRs in 30d

Description

while egg does support CORS via egg-cors, it doesn't allow resource specific CORS enabling. For example, if I want to enable my JS and CSS files to be read on a crossorigin page while disabling crossorigin request, it simply cannot be done.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.