Add option to serve `public` folder
まだ誰も着手していません。
- #40 @piranna による — マージされずにクローズ
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- typescript
- 領域
- backend
調査の方向性
Start with lib/run-uws-tracker.ts around lines 238–246, where the issue says non-WebSocket, non-stats, and non-index requests are rejected. Read the existing opt-in handling for index.html and check the linked pull request #40 for prior work. Done means an opt-in can serve files from a public folder before the 404 fallback, including its index.html if appropriate.
索引モデルが issue の本文から書いたものです。
説明
At https://github.com/Novage/wt-tracker/blob/400a4369fbe656e041514c7a08a94092888afc2f/lib/run-uws-tracker.ts#L238-L246 is being explicitly forbidden to serve any content that are not the WebTorrent WebSocket connections, the JSON stats endpoint, or an index.html file. In the same way that serving the index.html file is an opt-in, it would be useful to allow to check and serve a public folder before give up and return a 404, maybe being the index.html file inside it. That would allow to serve not only some Javascript and CSS files associated with the index.html file, but more important, it would allow to serve the actual HLS fragments directly from the same server, without needing to spin-up other processes.
- 主要言語
- TypeScript
- スター
- 279
- フォーク
- 95
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Novage/wt-tracker のほかの issue
-
Publish on `npm`オープンenhancement
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
Novage/wt-tracker#39 ·
-
enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 20/100
Novage/wt-tracker#11 ·
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
Novage/wt-tracker#10 · コメント 27 件 ·
Novage/wt-tracker の issue をすべて見る
似ている issue
-
awaiting-final-review request-icon
難易度 1/5 1時間未満 初心者へのやさしさ 70/100
homebridge/plugins#1376 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
mindfold-ai/Trellis#672 ·
-
p1 state:active track
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
StellarCanary/ProtocolCanary-Action#698 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
pear-devs/pear-desktop#4839 ·
メンテナーはふだん 1 日以内に返信