Changeset 98688c6 in Klonkt for src/views


Ignore:
Timestamp:
06/26/2026 10:23:33 AM (2 months ago)
Author:
Robin Genis <roboburr@…>
Branches:
main
Children:
5783c67
Parents:
cbe4f4e
Message:

feat(fediverse): follow a site by its bare domain (site.com), not only @handle

followActor now resolves a bare domain via the site root's AP content-negotiation
(reuses resolveApActor), so a single-actor site (Klonkt etc.) can be followed by
just its domain. Placeholder updated.

Co-Authored-By: Claude <noreply@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/views/pages/volgend.ejs

    rcbe4f4e r98688c6  
    77
    88  <form method="post" action="/tijdlijn/follow" class="tl-follow">
    9     <input type="text" name="handle" placeholder="@naam@server.social" autocomplete="off" spellcheck="false" required>
     9    <input type="text" name="handle" placeholder="@naam@server.social of site.com" autocomplete="off" spellcheck="false" required>
    1010    <button type="submit" class="btn btn-primary"><%= t('tl.follow_btn') %></button>
    1111    <label class="tl-follow-ab" title="<%= t('tl.autoboost_hint') %>"><input type="checkbox" name="auto_boost" value="1"> 🔁 <%= t('tl.autoboost_follow') %></label>
Note: See TracChangeset for help on using the changeset viewer.