Luzifer / ots

One-Time-Secret sharing platform with a symmetric 256bit AES encryption in the browser
https://ots.fyi
Apache License 2.0
463 stars 68 forks source link

how to define a favicon? #156

Closed olewaldo closed 11 months ago

olewaldo commented 11 months ago

Hi,

how can I add a favicon?

Thank you!

Luzifer commented 11 months ago

You should be able to put a favicon.ico into the overlayFSPath specified within your Customization. As the browser asks for that file it should be grabbed and displayed.

# Custom path to override embedded resources. You can override any
# file present in the `frontend` directory (which is baked into the
# binary during compile-time). You also can add new files (for
# example the appIcon given above). Those files are available at the
# root of the application (i.e. an app.png would be served at
# https://ots.example.com/app.png).
overlayFSPath: /path/to/ots-customization