But I was referring to legacy code (or those whose SPA is stored on the same domain as API endpoints).