eleventy
eleventy copied to clipboard
Dev Server and CORS
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