fix: update match configuration to bestOf 5 and scoringType to score_v2
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { redirect } from "@sveltejs/kit";
|
||||
import { a as auth } from "../../../chunks/auth.js";
|
||||
const load = async (event) => {
|
||||
if (event.locals.user) redirect(302, "/");
|
||||
const result = await auth.api.signInSocial({
|
||||
body: {
|
||||
provider: "osu",
|
||||
callbackURL: "/"
|
||||
}
|
||||
});
|
||||
if (result.url) redirect(302, result.url);
|
||||
return {};
|
||||
};
|
||||
export {
|
||||
load
|
||||
};
|
||||
Reference in New Issue
Block a user