fix: Correct user agent changes

Correct the domain
Remove "embed" in the UA because the
global UA was modified, rather than
just the one for preview requests
This commit is contained in:
Jade Ellis 2026-02-15 14:33:27 +00:00
parent be8f62396a
commit 26aac1408e
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2
3 changed files with 13 additions and 16 deletions

View file

@ -1474,11 +1474,9 @@
#
#url_preview_check_root_domain = false
# User agent that is used specifically when downloading url previews.
# User agent that is used specifically when fetching url previews.
#
# example: "continuwuity (bot; +https://forgejo.ellis.link/continuwuation/continuwuity)"
#
#url_preview_user_agent = "continuwuity/$VERSION ($VERSION_TAG)"
#url_preview_user_agent = "continuwuity/<version> (bot; +https://continuwuity.org)"
# List of forbidden room aliases and room IDs as strings of regex
# patterns.