now?????
Some checks failed
Deploy Frontend / deploy (push) Failing after 1m59s

This commit is contained in:
Lee 2024-10-03 20:26:24 +01:00
parent 6463064a1e
commit 0fa838892c
3 changed files with 11 additions and 1 deletions

7
apps/frontend/.env Normal file

@ -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=

@ -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);

@ -14,8 +14,11 @@
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"moduleDetection": "force",
"jsx": "preserve",
"incremental": true,
"declaration": true,
"declarationMap": true,
"plugins": [
{
"name": "next"