Change AP_DOMAIN default to federation.rose-ash.com

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
giles
2026-02-22 21:12:28 +00:00
parent 0e89dbee55
commit 30b5a1438b
3 changed files with 3 additions and 3 deletions

View File

@@ -114,7 +114,7 @@ async def on_any_activity(activity: APActivity, session: AsyncSession) -> None:
if not services.has("federation"):
return
domain = os.getenv("AP_DOMAIN", "rose-ash.com")
domain = os.getenv("AP_DOMAIN", "federation.rose-ash.com")
# Load actor with private key
actor = (

View File

@@ -24,7 +24,7 @@ from shared.contracts.dtos import (
def _domain() -> str:
return os.getenv("AP_DOMAIN", "rose-ash.com")
return os.getenv("AP_DOMAIN", "federation.rose-ash.com")
def _get_origin_app() -> str | None:

View File

@@ -59,7 +59,7 @@ async def try_publish(
# Stable object ID within a publish cycle. After Delete + re-Create
# we append a version suffix so remote servers (Mastodon) treat it as
# a brand-new post rather than ignoring the tombstoned ID.
domain = os.getenv("AP_DOMAIN", "rose-ash.com")
domain = os.getenv("AP_DOMAIN", "federation.rose-ash.com")
base_object_id = (
f"https://{domain}/users/{actor.preferred_username}"
f"/objects/{source_type.lower()}/{source_id}"