seek-oss / playroom

Design with JSX, powered by your own component library.
MIT License
4.45k stars 183 forks source link

Add `Access-Control-Allow-Origin` to playroom dev server #252

Closed jxom closed 2 years ago

jxom commented 2 years ago

When attempting to import external fonts into playroom, I've been getting the following error:

Screen Shot 2021-12-09 at 12 06 19 pm

Not sure why my origin would be null, but it seems that adding Access-Control-Allow-Origin to the dev server config fixes the issue.