quite a few minor issues to clean up
server handles requests correctly by redirecting either to FE or handling the request. I could not find a proper way to do that for the client. So lets just avoid using folder names that are API paths
also fix set-environment