export default function getBaseUrl() {
  const inDevelopment = window.location.hostname === 'localhost';
  return inDevelopment ? 'http://localhost:3001/' : '/'
}
@@ -38,125 +38,259 @@
 %7B%0A  
-const inDevelopment = window.location.hostname === 'localhost';%0A  return inDevelopment ? 'http://localhost:3001/' : '/'
+return getQueryStringParameterByName('useMockApi') ? 'http://localhost:3001/' : '/';%0A%7D%0A%0Afunction getQueryStringParameterByName(name, url) %7B%0A  url = url %7C%7C window.location.href;%0A  console.log(url.indexOf(name) %3E -1, url);%0A  return url.indexOf(name) %3E -1;
 %0A%7D

Check for mock api in path