feat: use corsproxy.io

This commit is contained in:
TrèsAbhi committed 2023-10-31 11:41:04 -05:00
1 parent 81c2ca80bc
commit 6b6ee94d9b
8 files changed
+20 -34

No files matched your search

@@ -1,10 +0,0 @@
import { NextResponse } from 'next/server';
import { Region } from '../../../../constants/regions';
import getRatingsInfo from '../../../../core/blitz/getRatingsInfo';
export async function GET(
request: Request,
{ params }: { params: { region: Region } },
) {
return NextResponse.json(await getRatingsInfo(params.region));
}
-6
View File
@@ -1,6 +0,0 @@
import { NextResponse } from 'next/server';
import { tankAverages } from '../../../core/blitzstars/tankAverages';
export async function GET() {
return NextResponse.json(await tankAverages);
}
-6
View File
@@ -1,6 +0,0 @@
import { NextResponse } from 'next/server';
import { tankopedia } from '../../../core/blitzstars/tankopedia';
export async function GET() {
return NextResponse.json(await tankopedia);
}