docs: Add usage example of "customHtml.head" to ".config/example.yml"

This commit is contained in:
Zlendy 2025-04-11 22:04:18 +02:00
parent ce26d8d3cb
commit cf260762f4
No known key found for this signature in database
GPG key ID: A9B6E750D846FC91

View file

@ -425,3 +425,11 @@ attachLdSignatureForRelays: true
# If you're not using jemalloc, this may cause memory fragmentation and performance issues! (https://www.npmjs.com/package/ws#websocket-compression)
# jemalloc is used by default in the Sharkey Docker image and may be set up manually otherwise: https://github.com/jemalloc/jemalloc/wiki/getting-started
websocketCompression: false
# Inject arbitrary HTML tags to customize Sharkey without having to fork it
#customHtml:
# head: |
# <!-- The possibilities are limitless! -->
# <script>console.log("Hello, world!")</script>
# <style>.whatever { color: red; }</style>
# <link rel="stylesheet" href="https://example.com/styles.css">