From 586b3e45fe0af299775436f2e8ea2a6ed5cdb8c6 Mon Sep 17 00:00:00 2001 From: "leo.zhao" Date: Fri, 13 Sep 2024 14:47:56 +0800 Subject: [PATCH] fix: change graphql api path --- CHANGELOG.md | 4 ++++ package.json | 2 +- src/shared.ts | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a7d482a..b9d7d46 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,10 @@ All notable changes to the "leetcode" extension will be documented in this file. Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how to structure this file. +## [0.18.4] +### Added +- change graphql path + ## [0.18.3] ### Added - re-add cookie-based login method [PR#969](https://github.com/LeetCode-OpenSource/vscode-leetcode/pull/969) diff --git a/package.json b/package.json index b270a2d..53552b7 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "vscode-leetcode", "displayName": "LeetCode", "description": "Solve LeetCode problems in VS Code", - "version": "0.18.3", + "version": "0.18.4", "author": "LeetCode", "publisher": "LeetCode", "license": "MIT", diff --git a/src/shared.ts b/src/shared.ts index 2301f7f..e8b59d8 100644 --- a/src/shared.ts +++ b/src/shared.ts @@ -140,7 +140,7 @@ export const urlsCn = { // base urls base: "https://leetcode.cn", graphql: "https://leetcode.cn/graphql", - userGraphql: "https://leetcode.cn/graphql/noj-go/", + userGraphql: "https://leetcode.cn/graphql/", login: "https://leetcode.cn/accounts/login/", authLoginUrl: `https://leetcode.cn/authorize-login/${protocol}/?path=leetcode.vscode-leetcode`, };