eleventy icon indicating copy to clipboard operation
eleventy copied to clipboard

Dev Server and CORS

Open jcubic opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe.

I'm working on a blog that uses Giscus that allows to change theme by using custom CSS. In order to use this feature you need to put a full path to the CSS file when initializing the Giscus. So when using the path to the dev server I got a CORS error.

Describe the solution you'd like

CORS option for dev server

Describe alternatives you've considered

I was thinking of using a Chrome extension that enables CORS headers (like CORS everywhere) but the last time I checked an extension like this it was not working when CORS was needed.

Additional context

No response

jcubic avatar Jul 18 '23 18:07 jcubic