• v1.0.24 7a146d48be

    fix(config): move root redirect to page and skip slash redirect
    All checks were successful
    Deploy eCourt Note Web to Server / Validate Database Schema (Drizzle) (push) Successful in 3s
    Deploy eCourt Note Web to Server / Build Web Docker Image (push) Successful in 50s
    Deploy eCourt Note Web to Server / Deploy eCourt Note Web to Server (push) Successful in 14s
    Deploy eCourt Note Web to Server / Notify Deployment Status (push) Successful in 0s

    Ghost released this 2026-10-08 11:11:48 +07:00 | 22 commits to dev since this release

    • เข้า /docedit เดิมใช้ redirects() (Next เติม basePath ให้ source /)
      ถอดออกให้ app/page.tsx ที่ root จับ /docedit และ /docedit/ แทน
      พร้อมส่งต่อ query เอง เพราะ redirect() ของ next/navigation ไม่แนบ
      searchParams ให้อัตโนมัติ (รักษาสัญญาลิงก์ e-Court
      /docedit/?fileUrl=&fileId=&typeId= ของ N8)
    • เพิ่ม skipTrailingSlashRedirect: true ปิด 308 trailing slash
      อัตโนมัติของ Next กัน ping-pong กับ rewrite rule ของ IIS ตอน
      deploy หลัง proxy
    • redirects() ใหม่แบบ basePath:false จับเฉพาะ root ของ host (/ แท้)
      ส่งตรงไป /docedit/note

    Co-Authored-By: Claude Code noreply@anthropic.com

    Downloads