This commit is contained in:
parent
0fa838892c
commit
2b7932a352
@ -1,8 +1,8 @@
|
|||||||
import { NextRequest, NextResponse } from "next/server";
|
import { NextRequest, NextResponse } from "next/server";
|
||||||
import { connectMongo } from "@/common/mongo";
|
|
||||||
import { IPlayer, PlayerModel } from "@/common/schema/player-schema";
|
import { IPlayer, PlayerModel } from "@/common/schema/player-schema";
|
||||||
import { seedPlayerHistory } from "@/common/player-utils";
|
import { seedPlayerHistory } from "@/common/player-utils";
|
||||||
import { scoresaberService } from "@/common/service/impl/scoresaber";
|
import { scoresaberService } from "@/common/service/impl/scoresaber";
|
||||||
|
import { connectMongo } from "@/common/mongo";
|
||||||
|
|
||||||
export async function GET(request: NextRequest) {
|
export async function GET(request: NextRequest) {
|
||||||
const playerIdCookie = request.cookies.get("playerId");
|
const playerIdCookie = request.cookies.get("playerId");
|
||||||
|
@ -30,7 +30,7 @@
|
|||||||
"./src/*"
|
"./src/*"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"target": "ES2017"
|
"target": "ES2022"
|
||||||
},
|
},
|
||||||
"include": [
|
"include": [
|
||||||
"next-env.d.ts",
|
"next-env.d.ts",
|
||||||
|
Reference in New Issue
Block a user