Use the new path to the api when using the local server