DeepTutor: Lifelong Personalized Tutoring. https://deeptutor.info/.
Python ai-agentsai-tutorclawbotcli-tooldeepresearchinteractive-learninglearningmulti-agent-systemsrag
fix(web): allow 127.0.0.1 as dev origin so hydration completes
Dryice Liu13899be20dd1
diff --git a/web/next.config.js b/web/next.config.jsindex 218bddfd9..2809970d1 100644--- a/web/next.config.js+++ b/web/next.config.js@@ -106,6 +106,13 @@ const nextConfig = {// Transpile mermaid and related packages for proper ESM handlingtranspilePackages: ["mermaid"],+ // Next.js 16 blocks cross-origin access to /_next/* dev resources (HMR+ // WebSocket, fonts, dev-only scripts) unless the request host is on this+ // allow-list. Without it, browsing http://127.0.0.1:<port>/ against a dev+ // server bound to localhost silently breaks client hydration — the SSR HTML+ // renders, but no React event handlers or effects ever attach.+ allowedDevOrigins: ["127.0.0.1"],+// Turbopack configuration (used when running `npm run dev:turbo`)turbopack: {resolveAlias: {