Merge branch 'main' into cloudflare

This commit is contained in:
hamster1963 2024-11-22 10:13:10 +08:00
commit 22c1851603
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ export async function Global({ countries = [] }: GlobalProps) {
// 获取国家的边界框 // 获取国家的边界框
const bbox = turf.bbox(feature); const bbox = turf.bbox(feature);
const spacing = 20; // 单位为千米,值越小点越密集 const spacing = 40; // 单位为千米,值越小点越密集
const options = { units: "kilometers" }; const options = { units: "kilometers" };
// @ts-expect-error ignore // @ts-expect-error ignore
const pointGrid = turf.pointGrid(bbox, spacing, options); const pointGrid = turf.pointGrid(bbox, spacing, options);

View File

@ -1,6 +1,6 @@
{ {
"name": "nezha-dash", "name": "nezha-dash",
"version": "1.4.5", "version": "1.4.6",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "next dev -p 3040", "dev": "next dev -p 3040",