mirror of
https://github.com/aljazceru/opencode.git
synced 2025-12-23 02:34:21 +01:00
ignore: cloud
This commit is contained in:
@@ -1,3 +1,4 @@
|
|||||||
|
import { redirect } from "@solidjs/router"
|
||||||
import type { APIEvent } from "@solidjs/start/server"
|
import type { APIEvent } from "@solidjs/start/server"
|
||||||
import { AuthClient, useAuthSession } from "~/context/auth"
|
import { AuthClient, useAuthSession } from "~/context/auth"
|
||||||
|
|
||||||
@@ -25,7 +26,5 @@ export async function GET(input: APIEvent) {
|
|||||||
current: id,
|
current: id,
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
return {
|
return redirect("/")
|
||||||
result,
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user