Skip to content

Commit

Permalink
Add wcaptcha-js related instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
greensea committed Dec 15, 2022
1 parent 1e09074 commit 98612b2
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,14 @@ cp .env .env.production
```
then follow the instructions to finish deployment.
## Set wcaptcha-js To Use Private Deployed Service
```javascript
w = new wcaptcha(API_KEY)
w.setEndpoint("https://your-deployed-service.com/")
// Then use wcaptcha as usual
// w.bind("any-selector")
```
9 changes: 9 additions & 0 deletions README.zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,3 +61,12 @@ cp .env .env.production
之后按照提示操作即可。
## 设置 wcaptcha-js 使用私有化部署的服务
```javascript
w = new wcaptcha(API_KEY)
w.setEndpoint("https://your-deployed-service.com/")
// 接下来就可以正常使用 wcaptcha 了
// w.bind("any-selector")
```

0 comments on commit 98612b2

Please sign in to comment.