自鯖 taruntarun.net 、このエラーで WebUI が死んでおり悩んでいます。
現在稼働中のソース : github.com/mayaeh/mastodon/tre

弊ぼっちのコード github.com/zunda/mastodon/tree と比較すると、app/javascript/mastodon/features/compose/components/announcements.js が追加されてるのが大きな違いかもですねー。このファイルの最後の方に

{items.entrySeq().map(([key, item]) =>
(<li key={key}>
<Announcement item={item} />
</li>)
)}

というコードがあります。脊髄反射で申し訳ないですが、もし参考になれば。

フォロー

@mayaeh @Gargron @zundan If you give an invalid json to Announcement, WebUI seems to be an error and you can not operate. Should you strengthen measures against illegal data?

Isn't this from an unfinished PR? I don't think it supports creating announcements through the API yet? Which JSON?

ログインして会話に参加
Fedibird

様々な目的に使える、日本の汎用マストドンサーバーです。安定した利用環境と、多数の独自機能を提供しています。