fix: update match configuration to bestOf 5 and scoringType to score_v2

This commit is contained in:
2026-02-28 06:38:05 +01:00
parent e99444b157
commit fb9140a03f
555 changed files with 124715 additions and 1 deletions

View File

@@ -0,0 +1,20 @@
import { redirect } from "@sveltejs/kit";
import { a as auth } from "../../../../chunks/auth.js";
const load = async (event) => {
if (!event.locals.user) {
return redirect(302, "/demo/better-auth/login");
}
return { user: event.locals.user };
};
const actions = {
signOut: async (event) => {
await auth.api.signOut({
headers: event.request.headers
});
return redirect(302, "/demo/better-auth/login");
}
};
export {
actions,
load
};