公開資産をホストする
data/public ディレクトリを作成し、そこに自分のファイルを置くことによって、任意の理由で公開したい資産をサーブできます。
Owncast 0.3.0 writes plugin-hosted files under data/public/plugins/, so do not place your own files there.
その後、Owncast ウェブサーバーの /public パスを介してこれらの資産にアクセスできるようになります。 例えば:
https://stream.example.com/public/image.png
https://stream.example.com/public/style.css
この機能を活用したい理由のいくつかの例:
- カスタム CSS に参照するために CSS フォントを利用可能にすること。
- ページコンテンツに使用したい画像がある。
- 他にホストする場所がない任意のファイルをダウンロードしてほしい。
Improve this page
See something missing or incorrect? Edit this page and improve the documentation for everyone.
Contributors to this documentation
