References to /api/... are now relative.