Fixed problems with different paths in localhost an online