/**
 * Hub URL — single source of truth for targo-hub API base URL.
 *
 * All components, composables, and pages should import from here:
 *   import { HUB_URL } from 'src/config/hub'
 *
 * In dev (localhost), points to local targo-hub instance.
 * In production, points to msg.gigafibre.ca.
 *
 * Can also be overridden via VITE_HUB_URL env variable.
 */
export const HUB_URL = import.meta.env.VITE_HUB_URL
  || (window.location.hostname === 'localhost' ? 'http://localhost:3300' : 'https://msg.gigafibre.ca')
