Repository navigation
Replies: 1 comment
|
Call |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'm building a couple of websites inside a pnpm monorepo. Some logic, like authentication, can be shared between them, so I created a separate package.
Is it possible to use the
getRequestEventfunction from the$app/servermodule inside this separate auth package?My current solution is to create a server hook that stores every
eventin anAsyncLocalStorageand then re-implementgetRequestEventbut I'd prefer to be able to use the official one if possible.All reactions