Refresh UI components and showcase; release updated framework packages
This commit is contained in:
1 parent
d800228585
commit
c77f5e1cec
293 files changed
+22544
-35778
No files matched your search
@@ -120,6 +120,9 @@ export function createContext<Params extends Record<string, string> = Record<str
|
||||
req: Request,
|
||||
url: URL,
|
||||
): Context<Params> {
|
||||
// The caller supplies the validated public URL (including trusted proxies).
|
||||
// Request-based handlers must see the same origin as ctx.url.
|
||||
if (req.url !== url.href) req = new Request(url, req);
|
||||
const cookies = createCookieStore(req);
|
||||
return {
|
||||
req,
|
||||
|
||||
Reference in new issue
Block a user