Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

WASM served with incorrect MIME type when running locally with jekyll serve

オープン
#695 コメント 9 件 リアクション 0 件 担当者 1 名 GitHub で見る

@dennispan がすでに取り組んでいます。

2020年6月22日 から。

評価

この issue はまだ評価されていません。

説明

I'm trying to use a web assembly (wasm) module, but wasm modules must be served with the content type application/wasm, and when running bundle exec jekyll serve to test the site locally, they are instead served with the content type application/octet-stream used for unrecognized file types. As far as I can tell, this was fixed upstream in Webrick back in 2019, but the github-pages gem is using an outdated version of jekyll which is in turn using an outdated version of webrick that doesn't have the fix.

I tried pushing my changes to github and wasm modules are served with the correct MIME type on a live github pages site. I'm not sure why it works live and is broken locally when the entire point of the github-pages gem is to replicate the same configuration for local testing in order to avoid such issues, but it seems like this can at least be easily fixed by updating the dependencies of the gem.

主要言語
Ruby
スター
1.9k
フォーク
361
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

github/pages-gem のほかの issue

github/pages-gem の issue をすべて見る

似ている issue

Ruby の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。