Homewrite.as

Fix empty hostname when fetching AS post via ID

Authored by matt on Tue, Nov 26, 5:59 PM.

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

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