Set-Location "C:\Users\quantfortune\SIP\SIP_India\frontend"
$backendUrlFile = "C:\Users\quantfortune\SIP\SIP_India\ngrok_backend_url.txt"
if (Test-Path $backendUrlFile) {
  $env:VITE_API_BASE_URL = (Get-Content $backendUrlFile -Raw).Trim()
} else {
  $env:VITE_API_BASE_URL = "http://localhost:8000"
}
npm run dev -- --host 0.0.0.0 --port 3000
