mirror of
https://github.com/anomalyco/opencode.git
synced 2026-02-01 22:48:16 +00:00
sync
This commit is contained in:
@@ -82,9 +82,6 @@
|
||||
"tree-sitter-bash",
|
||||
"web-tree-sitter"
|
||||
],
|
||||
"patchedDependencies": {
|
||||
"@solidjs/start@1.1.7": "patches/@solidjs%2Fstart@1.1.7.patch"
|
||||
},
|
||||
"overrides": {
|
||||
"@types/bun": "catalog:",
|
||||
"@types/node": "catalog:"
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
import { redirect } from "@solidjs/router"
|
||||
import { APIEvent } from "@solidjs/start"
|
||||
import { getResponseHeaders } from "@solidjs/start/http"
|
||||
import { useAuthSession } from "~/context/auth.session"
|
||||
|
||||
export async function GET(event: APIEvent) {
|
||||
@@ -14,8 +13,5 @@ export async function GET(event: APIEvent) {
|
||||
event!.locals.actor = undefined
|
||||
return val
|
||||
})
|
||||
return redirect("/zen", {
|
||||
status: 302,
|
||||
headers: getResponseHeaders(),
|
||||
})
|
||||
return redirect("/zen")
|
||||
}
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
diff --git a/dist/server/StartServer.jsx b/dist/server/StartServer.jsx
|
||||
index 0c6a9fe3121a88520db252570a8b5997a36e0452..b3479cdb78c70d7a655d302d8e6ab536b4ff07a3 100644
|
||||
--- a/dist/server/StartServer.jsx
|
||||
+++ b/dist/server/StartServer.jsx
|
||||
@@ -52,11 +52,11 @@ export function StartServer(props) {
|
||||
else if (import.meta.env.DEV)
|
||||
console.warn("No route matched for preloading js assets");
|
||||
}
|
||||
- assets = await Promise.all(assetPromises).then(a =>
|
||||
+ assets = await Promise.all(assetPromises).then(a =>
|
||||
// dedupe assets
|
||||
[...new Map(a.flat().map(item => [item.attrs.key, item])).values()].filter(asset => import.meta.env.START_ISLANDS
|
||||
? false
|
||||
- : asset.attrs.rel === "modulepreload" &&
|
||||
+ : (asset.attrs.rel === "modulepreload" || asset.attrs.rel === "stylesheet") &&
|
||||
!context.assets.find((a) => a.attrs.key === asset.attrs.key)));
|
||||
});
|
||||
useAssets(() => (assets.length ? assets.map(m => renderAsset(m)) : undefined));
|
||||
Reference in New Issue
Block a user