Handle endpoints prefix once and for all in config/index.js