HomeMusing Studio

Fix empty hostname when fetching AS post via ID

Description

Fix empty hostname when fetching AS post via ID

Previously, fetching ActivityStreams data about a post via
/api/posts/ID, instead of /api/collections/ALIAS/posts/SLUG wouldn't
include the instance's base URL. This fixes that.

Details

Provenance
mattAuthored on Nov 26 2019, 5:59 PM
Parents
rWF8d8e671a073d: Fix suspension check in fetchPost()
Branches
Unknown
Tags
Unknown
References
refs/pull/214/head