Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit babbdf6

Browse files
authored
Fix leetcode-cn urls
It seems the leetcode-cn plugin need one more url replaced for working well. That is config.sys.urls.problem_detail
1 parent b62af09 commit babbdf6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

plugins/leetcode.cn.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ plugin.init = function() {
1515
config.sys.urls.problems = 'https://leetcode-cn.com/api/problems/$category/';
1616
config.sys.urls.problem = 'https://leetcode-cn.com/problems/$slug/description/';
1717
config.sys.urls.graphql = 'https://leetcode-cn.com/graphql';
18+
config.sys.urls.problem_detail = 'https://leetcode.com/graphql';
1819
config.sys.urls.test = 'https://leetcode-cn.com/problems/$slug/interpret_solution/';
1920
config.sys.urls.session = 'https://leetcode-cn.com/session/';
2021
config.sys.urls.submit = 'https://leetcode-cn.com/problems/$slug/submit/';

0 commit comments

Comments
 (0)