[build]
  publish = "_site"
  command = "npm run build"

  functions = "functions/"

[[headers]]
  for = "/*"
  [headers.values]
    Cache-Control = "max-age=31536001"

[[headers]]
  for = "/"
  [headers.values]
    Cache-Control = "no-cache"

[[headers]]
  for = "/*.html"
  [headers.values]
    Cache-Control = "no-cache"

[[headers]]
  for = "/index.xml"
  [headers.values]
    Cache-Control = "no-cache"


[build]
  publish = "_site"
  command = "npm run build"

  functions = "functions/"

[context.production]
  environment = {AWS_LAMBDA_JS_RUNTIME = "nodejs10.x"}

[[headers]]
  for = "/*"
  [headers.values]
    Cache-Control = "max-age=31536001"

[[headers]]
  for = "/"
  [headers.values]
    Cache-Control = "no-cache"

[[headers]]
  for = "/*.html"
  [headers.values]
    Cache-Control = "no-cache"

[[headers]]
  for = "/index.xml"
  [headers.values]
    Cache-Control = "no-cache"


Define correct runtime for functions
Define correct runtime for functions
