This commit is contained in:
parent
6463064a1e
commit
0fa838892c
7
apps/frontend/.env
Normal file
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"
|
||||
|
Reference in New Issue
Block a user