Skip to content

/etc/hostsを読んでくれない #15820

Closed

Description

@SINtyanneru

💡 Summary

/etc/hostsはWindowsでいうC:\windows\system32\drivers\etc\hostsです。
例えば「example.comのIPを192.168.0.2にする」などができるものです。

之を読んでくれないと、以下の様になります
・ローカルに複数のMisskeyインスタンスがある場合に、それ同士で連合できなくなる
・ローカルにオブジェクトストレージがある場合に、アイコンやカスタム絵文字が表示されなくなる

(アイコンに関しては、自力で「ローカルユーザーのみメディアプロキシ?をしないようにする」という方法で回避しました)

🥰 Expected Behavior

/etc/hostsを読む

🤬 Actual Behavior

/etc/hostsを読まない

📝 Steps to Reproduce

No response

💻 Frontend Environment

* Model and OS of the device(s):
* Browser:
* Server URL:
* Misskey:

🛰 Backend Environment (for server admin)

* Installation Method or Hosting Service:
* Misskey:
* Node:
* PostgreSQL:
* Redis:
* OS and Architecture:

Do you want to address this bug yourself?

  • Yes, I will patch the bug myself and send a pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions