Fix actors.profile → activitypub.actor_profile endpoint references
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 51s

The AP blueprint was consolidated but 4 references to the old
'actors.profile' endpoint remained, causing BuildError on social pages.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-24 12:46:04 +00:00
parent f17dd923a6
commit b2b853c052
3 changed files with 5 additions and 5 deletions

View File

@@ -34,7 +34,7 @@
<span hx-get="{{ url_for('social.notification_count') }}" hx-trigger="load, every 30s" hx-swap="innerHTML"
class="absolute -top-2 -right-3 text-xs bg-red-500 text-white rounded-full px-1 empty:hidden"></span>
</a>
<a href="{{ url_for('actors.profile', username=actor.preferred_username) }}"
<a href="{{ url_for('activitypub.actor_profile', username=actor.preferred_username) }}"
class="px-2 py-1 rounded hover:bg-stone-200">
@{{ actor.preferred_username }}
</a>

View File

@@ -9,7 +9,7 @@
{% if actor %}
<p class="mt-2"><strong>Username:</strong> @{{ actor.preferred_username }}</p>
<p class="mt-1">
<a href="{{ url_for('actors.profile', username=actor.preferred_username) }}"
<a href="{{ url_for('activitypub.actor_profile', username=actor.preferred_username) }}"
class="text-blue-600 hover:underline">
View profile
</a>