Files
learning-lab-express/netlify.toml
Iqbal ef4fb7d971 Rename Brain to Upload material and Instruction to Brain and AI
Upload material (/upload) drops the metric cards for a larger upload box
above the material list; Brain and AI moves to /brain. Old paths redirect.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-27 22:36:52 +07:00

25 lines
534 B
TOML

[build]
command = "npm run build"
publish = "dist"
[build.environment]
NODE_VERSION = "22"
# Same-origin /api, as the Vite proxy does in dev: the engine needs no CORS setup.
[[redirects]]
from = "/api/*"
to = "https://learningstudio.bawana.com/api/:splat"
status = 200
force = true
# BrowserRouter: /upload, /results, ... all load index.html.
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[[headers]]
for = "/assets/*"
[headers.values]
Cache-Control = "public, max-age=31536000, immutable"