Select the types of activity you want to include in your feed.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.)
hq.recaptime.dev/wiki/Phorge
···101101 $response->setMimeType($type_map[$type]);
102102103103 // NOTE: This is a piece of magic required to make WOFF fonts work in
104104- // Firefox. Possibly we should generalize this.
105105- if ($type == 'woff' || $type == 'woff2') {
104104+ // Firefox and IE. Possibly we should generalize this more.
105105+106106+ $cross_origin_types = array(
107107+ 'woff' => true,
108108+ 'woff2' => true,
109109+ 'eot' => true,
110110+ );
111111+112112+ if (isset($cross_origin_types[$type])) {
106113 // We could be more tailored here, but it's not currently trivial to
107114 // generate a comprehensive list of valid origins (an install may have
108115 // arbitrarily many Phame blogs, for example), and we lose nothing by