Skip to content

Commit 8e11da1

Browse files
committed
update homepage
1 parent 445a3d2 commit 8e11da1

File tree

2 files changed

+10
-9
lines changed

2 files changed

+10
-9
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"typescript": "^4.1.2",
2424
"web-vitals": "^1.0.1"
2525
},
26+
"homepage": ".",
2627
"scripts": {
2728
"start": "react-scripts start",
2829
"build": "react-scripts build",
@@ -48,4 +49,4 @@
4849
"last 1 safari version"
4950
]
5051
}
51-
}
52+
}

src/api/urls.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
export const urls: { [key: string]: string } = {
2-
'CreateBot': "/bot/create/v1",
3-
'DeleteBot': "/bot/delete/v1",
4-
'ListBot': "/bot/list/v1",
5-
'BotLoginAsync': "/bot/login/v1",
6-
'ListCaptcha': "/captcha/list/v1",
7-
'SolveCaptcha': "/captcha/solve/v1",
8-
'FetchQRCode': "/qrcode/fetch/v1",
9-
'QueryQRCodeStatus': "/qrcode/query/v1",
2+
'CreateBot': "./bot/create/v1",
3+
'DeleteBot': "./bot/delete/v1",
4+
'ListBot': "./bot/list/v1",
5+
'BotLoginAsync': "./bot/login/v1",
6+
'ListCaptcha': "./captcha/list/v1",
7+
'SolveCaptcha': "./captcha/solve/v1",
8+
'FetchQRCode': "./qrcode/fetch/v1",
9+
'QueryQRCodeStatus': "./qrcode/query/v1",
1010
}

0 commit comments

Comments
 (0)