@@ -33,20 +33,20 @@ pub struct Urls {
33
33
impl Default for Urls {
34
34
fn default ( ) -> Self {
35
35
Self {
36
- base : "https://leetcode-cn.com " . into ( ) ,
37
- graphql : "https://leetcode-cn.com /graphql" . into ( ) ,
38
- login : "https://leetcode-cn.com /accounts/login/" . into ( ) ,
39
- problems : "https://leetcode-cn.com /api/problems/$category/" . into ( ) ,
40
- problem : "https://leetcode-cn.com /problems/$slug/description/" . into ( ) ,
41
- tag : "https://leetcode-cn.com /tag/$slug/" . into ( ) ,
42
- test : "https://leetcode-cn.com /problems/$slug/interpret_solution/" . into ( ) ,
43
- session : "https://leetcode-cn.com /session/" . into ( ) ,
44
- submit : "https://leetcode-cn.com /problems/$slug/submit/" . into ( ) ,
45
- submissions : "https://leetcode-cn.com /submissions/detail/$id/" . into ( ) ,
46
- submission : "https://leetcode-cn.com /submissions/detail/$id/" . into ( ) ,
47
- verify : "https://leetcode-cn.com /submissions/detail/$id/check/" . into ( ) ,
48
- favorites : "https://leetcode-cn.com /list/api/questions" . into ( ) ,
49
- favorite_delete : "https://leetcode-cn.com /list/api/questions/$hash/$id" . into ( ) ,
36
+ base : "https://leetcode.cn " . into ( ) ,
37
+ graphql : "https://leetcode.cn /graphql" . into ( ) ,
38
+ login : "https://leetcode.cn /accounts/login/" . into ( ) ,
39
+ problems : "https://leetcode.cn /api/problems/$category/" . into ( ) ,
40
+ problem : "https://leetcode.cn /problems/$slug/description/" . into ( ) ,
41
+ tag : "https://leetcode.cn /tag/$slug/" . into ( ) ,
42
+ test : "https://leetcode.cn /problems/$slug/interpret_solution/" . into ( ) ,
43
+ session : "https://leetcode.cn /session/" . into ( ) ,
44
+ submit : "https://leetcode.cn /problems/$slug/submit/" . into ( ) ,
45
+ submissions : "https://leetcode.cn /submissions/detail/$id/" . into ( ) ,
46
+ submission : "https://leetcode.cn /submissions/detail/$id/" . into ( ) ,
47
+ verify : "https://leetcode.cn /submissions/detail/$id/check/" . into ( ) ,
48
+ favorites : "https://leetcode.cn /list/api/questions" . into ( ) ,
49
+ favorite_delete : "https://leetcode.cn /list/api/questions/$hash/$id" . into ( ) ,
50
50
}
51
51
}
52
52
}
0 commit comments