How to enable/disable cors for file resources #1877
-
Hi everyone, when trying to access resources such as images within a CanvasKit renderer based web application, it gets blocked. How would an approach look like if I wanted to enable/disable resources based on same origin or cross origin? E.g.:
If my formulation is misleading or confusing, please pardon my lack of deeper knowledge in this area. I can try to elaborate even further if required. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You can use the "locations" option in the configuration file and apply different filters to different resource paths as needed. |
Beta Was this translation helpful? Give feedback.
You can use the "locations" option in the configuration file and apply different filters to different resource paths as needed.