askHttpPort = async (mode) => {
  let port = mode === "dev" ? 3000 : 80;
  if (!expert) {
    if (yes) return 80;
  }
  const responses = await inquirer.prompt([
    {
      name: "port",
      message: "Port Saltcorn HTTP server will listen on?",
      type: "number",
      default: port,
    },
  ]);
  return responses.port;
}
Ask for HTTP port. If mode is dev than port 3000. Otherwise, default value is 80.
@param mode
@returns {Promise<number|number>}