mirror of
https://github.com/Drop-OSS/drop
synced 2026-08-27 14:23:05 -04:00
7 lines
No EOL
180 B
TypeScript
7 lines
No EOL
180 B
TypeScript
import session from "../internal/session";
|
|
|
|
export default defineNitroPlugin((nitro) => {
|
|
nitro.hooks.hook('request', (h3) => {
|
|
h3.context.session = session;
|
|
})
|
|
}); |