fix(fedi): turning AP off no longer 404s the whole site
The AP router is mounted at root, so its 'if (!apEnabled()) return res.status(404)' guard ran
for EVERY request and 404'd the entire site when federation was switched off. Now it uses
next('router') to skip the router so the normal routes handle the request; /ap/* still 404s
naturally when AP is off.
(No files)
Note:
See TracChangeset
for help on using the changeset viewer.