mirror of
https://github.com/Drop-OSS/drop.git
synced 2025-11-10 04:22:09 +10:00
7 lines
180 B
TypeScript
7 lines
180 B
TypeScript
import session from "../internal/session";
|
|
|
|
export default defineNitroPlugin((nitro) => {
|
|
nitro.hooks.hook('request', (h3) => {
|
|
h3.context.session = session;
|
|
})
|
|
}); |