mirror of
https://github.com/anomalyco/opencode.git
synced 2026-04-30 05:29:53 +00:00
sync
This commit is contained in:
parent
2509d03f42
commit
5814df7eaa
3 changed files with 1 additions and 26 deletions
|
|
@ -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")
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue