Redirect legacy /q/* URLs to canonical ladl.link addresses.
Deploy Ladill Link / deploy (push) Successful in 27s

External /q requests 301/307 to ladl.link; internal X-Ladill-Internal requests still serve content for platform proxying.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-27 17:19:04 +00:00
co-authored by Cursor
parent 5982165128
commit 7cdb1ef409
2 changed files with 12 additions and 9 deletions
+5
View File
@@ -59,5 +59,10 @@ class LinkRedirectTest extends TestCase
$this->get('https://ladl.link/qrpage')
->assertOk()
->assertSee('QR page');
Http::assertSent(function ($request) {
return $request->url() === 'https://ladill.com/q/qrpage'
&& $request->hasHeader('X-Ladill-Internal', '1');
});
}
}