Fix deployment for server production