From 9821d156e8f83310608a6e25d188459a1dc830d0 Mon Sep 17 00:00:00 2001 From: Fatih Guner Date: Sat, 15 Aug 2026 13:39:33 +0300 Subject: [PATCH] =?UTF-8?q?docs:=20MEMORY=20Faz=2013=20=E2=80=94=20domain?= =?UTF-8?q?=20seviyesi=20redirect=20mekanizmas=C4=B1=20not=20edildi?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 --- MEMORY.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/MEMORY.md b/MEMORY.md index 5bb56c8..1e53670 100644 --- a/MEMORY.md +++ b/MEMORY.md @@ -680,6 +680,15 @@ statik çıktısını kendi Vercel team'inde host et. - `vercel.json`: `buildCommand` = build-static.sh, `outputDirectory` = dist, `installCommand` boş (repo'da package.json yok), host-bazlı 301: `harness.lokomotif.ai/*` → `harness.komunite.com.tr/*`. +- **Redirect tuzağı**: `vercel.json` `redirects` + `has: host` kuralı + statik deployment'ta dosya sisteminden SONRA değerlendiriliyor — + var olan sayfalar eski host'ta 200 dönüyordu, sadece olmayan + path'ler 308 oluyordu. Kalıcı çözüm: **domain seviyesi redirect** + (`PATCH /v9/projects/{id}/domains/harness.lokomotif.ai` ile + `redirect: harness.komunite.com.tr, redirectStatusCode: 308`; + dashboard'daki "Redirect to" özelliğinin API karşılığı). Path'i + koruyor ve dosya sisteminden önce çalışıyor. vercel.json'daki kural + backstop olarak duruyor. - Vercel projesi `harness-docs` (komunite team), GitHub `komunite/harness-docs`'a bağlı; `main`'e push → otomatik deploy. - DNS (Cloudflare): `harness.komunite.com.tr` ve