Skip to content

Commit cf89115

Browse files
committed
redis session cache key prefix
1 parent d6f48c1 commit cf89115

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/hooks.server.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,10 @@ const checkAuthorization: Handle = async ({ event, resolve }) => {
170170
export const handle: Handle = sequence(
171171
sveltekitSessionHandle({
172172
secret: "secret",
173-
store: new RedisStore({ client }),
173+
store: new RedisStore({
174+
client,
175+
prefix: "obp-api-manager-ii-session:",
176+
}),
174177
}),
175178
checkAuthorization,
176179
// add other handles here if needed

0 commit comments

Comments
 (0)