feat: implement scan terminal dashboard with real-time market data services and interactive visual components
This commit is contained in:
@@ -30,12 +30,17 @@ export async function GET(req: NextRequest) {
|
||||
"time_range",
|
||||
"limit",
|
||||
"force_refresh",
|
||||
"skip_polymarket",
|
||||
]) {
|
||||
const value = req.nextUrl.searchParams.get(key);
|
||||
if (value != null && value !== "") {
|
||||
params.set(key, value);
|
||||
}
|
||||
}
|
||||
const tradingRegion = req.nextUrl.searchParams.get("trading_region");
|
||||
if (tradingRegion != null && tradingRegion !== "") {
|
||||
params.set("region", tradingRegion);
|
||||
}
|
||||
const cachePolicy = buildForceRefreshProxyCachePolicy(forceRefresh, 10);
|
||||
|
||||
const url = `${API_BASE}/api/scan/terminal?${params.toString()}`;
|
||||
|
||||
Reference in New Issue
Block a user