[dev]
 command = 'npm run develop'
 port = 8888
 targetPort = 8000
 publish = 'public'
 autoLaunch = true
[build]
  publish = "public"
  command = "npm test && npm run build"
  functions = "/functions"
[build.environment]
  YARN_VERSION = "1.9.4"
  YARN_FLAGS = "--no-ignore-optional"
[[redirects]]
    from = "/ihds-and-smart-meters"
    to = "/help/topics/smart-meters/smart-meters/how-can-my-ihd-and-smart-meter-help-me-manage-my-energy-use.html"
    status = 301
[[redirects]]
    from = "/get-an-ihd"
    to = "https://docs.google.com/forms/d/e/1FAIpQLSddnQtRMbIpa4jMCeaowNL39kTNWI-uzo-iZ7D5ODk6v6hZAA/viewform"
    status = 301
[[redirects]]
    from = "/order-ihd"
    to = "https://docs.google.com/forms/d/e/1FAIpQLSewN2h6IqInTWxtO_SZT0Dzdzwk1iA2KMz-QQrI6sGhiDTHEQ/viewform?usp=send_form"
    status = 301
[[redirects]]
    from = "/credit-on-my-smart-meter"
    to = "/help/topics/payg/smart-meters/how-do-i-get-my-emergency-credit-on-my-smart-meter.html"
    status = 301
[[redirects]]
    from = "/switching-with-debt"
    to = "/help/topics/faqs/energy-debt.html"
    status = 301
[[redirects]]
  from = "/"
  to = "index.html"
  status = 200
  force = true
[[redirects]]
  from = "/about"
  to = "about.html"
  status = 200
  force = true
[[redirects]]
  from = "/warm-home-discount"
  to = "warm-home-discount.html"
  status = 200
  force = true
[[redirects]]
  from = "/about-us"
  to = "/about"
  status = 301
  force = true
[[redirects]]
  from = "/about-smart"
  to = "about-smart.html"
  status = 200
  force = true
[[redirects]]
  from = "/smart-meters"
  to = "/about-smart"
  status = 301
  force = true
[[redirects]]
  from = "/smart"
  to = "/about-smart"
  status = 301
  force = true
[[redirects]]
  from = "/psr"
  to = "https://www.boostpower.co.uk/help/topics/support/what-is-the-priority-services-register.html"
  status = 301
  force = true
[[redirects]]
  from = "/js-assets/static/*"
  to = "/static/:splat"
  status = 200
  force = true
[[redirects]]
  from = "/js-assets/page-data/*"
  to = "/page-data/:splat"
  status = 200
  force = true
[[redirects]]
  from = "/img/*"
  to = "/img/:splat"
  status = 200
  force = true
[[redirects]]
  from = "/using-your-ihd6-cad"
  to = "/img/1629_boost_ihd_guide_2020_11_02_a.pdf"
  status = 200
[[redirects]]
  from = "/blog/coronavirus-update/*"
  to = "/coronavirus-update/:splat"
  status = 200
  force = true
[[redirects]]
  force = true
  status = 200
  from = "/how-to-get-warm-home-discount"
  to = "https://www.boostpower.co.uk/help/topics/support/payments/how-do-i-get-the-warm-home-discount.html"
[[redirects]]
  force = true
  status = 200
  from = "/ovo-fund"
  to = "https://www.boostpower.co.uk/help/topics/payments-and-top-ups/boost-energy-fund.html"
[[redirects]]
  force = true
  status = 200
  from = "/priority-services"
  to = "https://www.boostpower.co.uk/help/topics/faqs/smart-meters/what-happens-if-im-vulnerable-or-have-special-requirements.html"
[[redirects]]
  from = "/js-assets/*"
  to = "/js-assets/:splat"
  status = 200
  force = true
  headers = {host = "boostpower.co.uk"}
[[redirects]]
  from = "/api/salesforce/*"
  to = "https://boostpower.cms-app-prod.ovotech.org.uk/api/salesforce/:splat"
  status = 200
  force = true
  headers = {host = "www.boostpower.co.uk"}
[[redirects]]
  from = "/login/proxy"
  to = "index.html"
  status = 200
  force = true
[[redirects]]
  from = "/help/topics/*"
  to = "/help/:splat"
  status = 301
[[redirects]]
  from = "/login"
  to = "/app"
  status = 200
  force = true
[[redirects]]
  from = "/request-access"
  to = "/app"
  status = 200
  force = true
[[redirects]]
  from = "/password/*"
  to = "/app"
  status = 200
  force = true
[[plugins]]
  package = "@netlify/plugin-gatsby"