I have a Jenkins pipeline that as part of the build uses Storybook to create a snapshot of our components.
This is done by letting storybook create a static site that uses frames to show the displayed component.
As part of the build I want to publish this site so we can monitor the look of the components in each build, so I am using HtmlPublisher to do this.
Problem is that the font file that we use for our icons is not loading, Chrome reports a CORS error:
So I have been trying to use the CORS plugin to allow this but I can't seem to get it to work, since the origin is 'null'...
Not sure if its the HtmlPlugin frame or the Storybook frame inside it that is the problem, but the downloaded zip is looking good.
Anybody know how to fix this?
Any pointers is appreciated!
/Kris