Set Api to local