Gists embedded in Medium articles cause the following error:
The resource from “https://gist.github.com/deepakshrma/78b8a14940b17ffaff159d3188754597?file=06-val.py.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).
Thanks for the report! I'm seeing the same thing you are. I wonder what's causing that? Not all gists are broken (for example: https://scribe.rip/graphql-cursor-infinite-scroll-pagination-with-react-apollo-client-and-github-api-fafbc510b667 I want to proxy gists eventually, but we'll see what comes first. Full disclosure, I probably won't get to this for a bit, but we'll see where my energy level is over the next few days/weeks.
Not exactly sure how its contributing to the error but I noticed that in the one you sent, the embedded gists are single files:
<script src="https://gist.github.com/alfianlosari/7d77730b0df9365881811c6875df220e.js"></script>
whereas in the one I sent there are multiple files in a single gist:
<script src="https://gist.github.com/deepakshrma/78b8a14940b17ffaff159d3188754597?file=01-val.py.js"></script>
Haven't checked other articles for this same occurrence but that seems to have something to do with it.
Hello! This is now fixed and Scribe is proxying gists. I'm going to mark this as fixed but comment here or open a new issue if you find that it's not working. Thanks for the initial report!