-
-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
14 additions
and
85 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,19 @@ | ||
没有你的学校?你可以使用自定义功能,或提交 pull request 或 issue,来适配你的学校。 | ||
|
||
相关文件:[递交适配学校 \_submit_your_data_here.ts](https://github.com/lcandy2/webvpn-converter/blob/main/data/_submit_your_data_here.ts)。文件格式如下: | ||
相关文件:[/data/webvpn.json](https://github.com/lcandy2/webvpn-converter/blob/main/data/webvpn.json)。文件格式如下: | ||
|
||
```typescript | ||
const data: School = { | ||
province: '上海', // ← 请将学校所在地区填写在此处 | ||
name: '上海交通大学', // ← 请将学校名称填写在此处 | ||
host: 'webvpn.sjtu.edu.cn', // ← 请将 WebVPN 服务网址填写在此处 | ||
crypto_key: '', // ← 请将 key 填写在此处 | ||
crypto_iv: '', // ← 请将 iv 填写在此处 | ||
```json | ||
{ | ||
"上海【请将学校所在地区填写在此处】": { | ||
"上海交通大学【请将学校名称填写在此处】": { | ||
"host": "webvpn.sjtu.edu.cn【请将 WebVPN 服务网址填写在此处】", | ||
"crypto_key": "【请将 key 填写在此处】", | ||
"crypto_iv": "【请将 iv 填写在此处】" | ||
} | ||
} | ||
}; | ||
``` | ||
|
||
- 请查找已有省级分类,并在其中添加你的学校。如果没有,请新建一个省级分类,并在其中添加你的学校。 | ||
- 请不要重复添加已有的学校。 | ||
- 若学校存在多个 WebVPN 服务网址,请添加多个条目,请使用括号区分,以保证JSON格式正确性。 |