diff --git a/apps/frontend/.env b/apps/frontend/.env new file mode 100644 index 0000000..000a358 --- /dev/null +++ b/apps/frontend/.env @@ -0,0 +1,7 @@ +NEXT_PUBLIC_SITE_URL=http://localhost:3000 +NEXT_PUBLIC_TRIGGER_PUBLIC_API_KEY= + +TRIGGER_API_KEY= +TRIGGER_API_URL=https://trigger.example.com +MONGO_URI=mongodb://root:jGZuYukpb9n4yDJJE8nMeUbj2ACE7DR3@10.0.50.37:27017/ssr-dev?authSource=admin +SENTRY_AUTH_TOKEN= diff --git a/apps/frontend/src/app/(pages)/api/player/history/route.ts b/apps/frontend/src/app/(pages)/api/player/history/route.ts index b7395da..5c30b89 100644 --- a/apps/frontend/src/app/(pages)/api/player/history/route.ts +++ b/apps/frontend/src/app/(pages)/api/player/history/route.ts @@ -21,7 +21,7 @@ export async function GET(request: NextRequest) { _id: id, trackedSince: new Date().toISOString(), }); - const response = await scoresaberService.lookupPlayer(id, true); + const response = await scoresaberService.lookupPlayer(id); if (response != undefined) { const { player, rawPlayer } = response; await seedPlayerHistory(foundPlayer!, player, rawPlayer); diff --git a/apps/frontend/tsconfig.json b/apps/frontend/tsconfig.json index 7a828c0..e937709 100644 --- a/apps/frontend/tsconfig.json +++ b/apps/frontend/tsconfig.json @@ -14,8 +14,11 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, + "moduleDetection": "force", "jsx": "preserve", "incremental": true, + "declaration": true, + "declarationMap": true, "plugins": [ { "name": "next"