Bypass etc/hosts for virtual domains
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 35/100
- issue の種類
- 機能追加
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- javascript, node.js
調査の方向性
http-server の -P パラメーターのコマンドライン処理から始め、Node.js dns.lookup() のドキュメントを読んでください。/etc/hosts を手動で変更せずに仮想ドメインを使用でき、動作とプラットフォーム上の影響が明らかになれば、作業は完了です。
索引モデルが issue の本文から書いたものです。
説明
What's the problem this feature will solve?
Using http-server -P parameter to use a local virtual domain, we still need to update /etc/hosts file to be able to access the local virtual domain using http-server.
Describe the solution you'd like
My idea is to find a way to use a new virtual domain without modifying /etc/hosts file. This can be achieved by using dns to modify the OS host file and use dns.lookup() to pull from the host file.
Alternative Solutions
Additional context
- 主要言語
- JavaScript
- スター
- 14.2k
- フォーク
- 1.6k
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
http-party/http-server のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
http-party/http-server#982 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
http-party/http-server#977 · リアクション 2 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 8/100
http-party/http-server#980 · コメント 2 件 ·
-
New chetオープン
難易度 5/5 1週間以上 初心者へのやさしさ 10/100
http-party/http-server#976 ·
-
Dreams local boyオープン
難易度 5/5 1週間以上 初心者へのやさしさ 15/100
http-party/http-server#975 ·
http-party/http-server の issue をすべて見る
似ている issue
-
bug needs-triage potential-regression
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
aws/aws-sdk-js-v3#8408 ·
メンテナーはふだん 1 日以内に返信
-
[v3] KeyBindingManager calls (Add/Remove) are not converted into a case-insensitive accelerator.KeyオープンBug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
メンテナーはふだん 4 日以内に返信
-
fix(docs): align git__gh troubleshooting with its actual failure paths対応中かも @akhil9tiet が今日担当しました。 オープンbug docs p2
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100