diff --git a/.gitignore b/.gitignore index 821f2c7..ff5302a 100644 --- a/.gitignore +++ b/.gitignore @@ -78,3 +78,5 @@ typings/ dist/ lib/ **/.DS_Store +.wrangler/ + diff --git a/src/core/query.ts b/src/core/query.ts index c9a1dc0..67e8383 100644 --- a/src/core/query.ts +++ b/src/core/query.ts @@ -24,7 +24,7 @@ export class Query { country: countryName ranking } - submits: submitStats { + submits: submitStatsGlobal { ac: acSubmissionNum { difficulty count } } } diff --git a/wrangler.toml b/wrangler.toml index ec67fd4..03d9408 100644 --- a/wrangler.toml +++ b/wrangler.toml @@ -1,11 +1,12 @@ name = "leetcode" main = "dist/worker.js" -account_id = "e7477191007081e167a2b188734c4e81" workers_dev = true compatibility_date = "2022-05-26" -kv_namespaces = [] node_compat = true +[limits] +cpu_ms = 50 + [build] command = "npm run -s build:worker"