marmar-context / web / context / netlify.toml
netlify.toml
Raw
[build]
  publish = "dist"
  functions = "netlify/functions"
[build.environment]
  NODE_VERSION = "22"
[functions]
  node_bundler = "esbuild"
[[headers]]
  for = "/*"
  [headers.values]
    X-Frame-Options = "DENY"
    X-Content-Type-Options = "nosniff"
    Referrer-Policy = "no-referrer"
    Permissions-Policy = "camera=(), microphone=(), geolocation=()"
    X-Robots-Tag = "noindex, nofollow"
# The clinician app's routes are client-side; serve the page for them.
[[redirects]]
  from = "/app/*"
  to = "/index.html"
  status = 200
[[redirects]]
  from = "/invite/*"
  to = "/index.html"
  status = 200
[[redirects]]
  from = "/demo"
  to = "/index.html"
  status = 200
[[redirects]]
  from = "/request-access"
  to = "/index.html"
  status = 200
[[redirects]]
  from = "/sign-in"
  to = "/index.html"
  status = 200