lineupjs/lineup_app

Export to Codepen not working

keckelt opened this issue · 0 comments

Steps to reproduce

  1. Go to https://lineup.js.org/app/#soccer
  2. Export to Codepen

Observed behavior

  • Any unexpected output or action (or lack of expected output or action)

No lineup displayed

  • Web browser console errors (including tracebacks)
The resource from “https://unpkg.com/lineupjs@3.3.0/build/LineUpJS.min.css” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff). index.html

The resource from “https://unpkg.com/lineupjs@3.3.0/build/LineUpJS.min.js” was blocked due to MIME type (“text/plain”) mismatch (X-Content-Type-Options: nosniff). index.html

ReferenceError: LineUpJS is not defined
  • Server errors (relevant messages and tracebacks)
  • Static or animated images showing the UI behavior

image

Workaround

Open Pen settings and switch to non-minified css and js files.