mirror of
https://github.com/XTLS/Xray-docs-next.git
synced 2025-01-19 01:01:41 +03:00
Attampt to fix prettier format
This commit is contained in:
parent
f5dd51a772
commit
d8459e1fae
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
fetch-depth: 0
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: "16"
|
||||
- name: Get yarn cache directory path
|
||||
id: yarn-cache-dir-path
|
||||
run: echo "::set-output name=dir::$(yarn cache dir)"
|
||||
|
@ -43,10 +43,7 @@ Xray 内置的 DNS 模块,主要有两大用途:
|
||||
"dns": {
|
||||
"hosts": {
|
||||
"baidu.com": "127.0.0.1",
|
||||
"dns.google":[
|
||||
"8.8.8.8",
|
||||
"8.8.4.4"
|
||||
]
|
||||
"dns.google": ["8.8.8.8", "8.8.4.4"]
|
||||
},
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
|
@ -71,7 +71,7 @@ Shadowsocks 2022 新协议格式提升了性能并带有完整的重放保护,
|
||||
使用 `openssl rand -base64 <长度>` 以生成与 shadowsocks-rust 兼容的密钥,长度取决于所使用的加密方法。
|
||||
|
||||
| 加密方法 | 密钥长度 |
|
||||
|-------------------------------|-----:|
|
||||
| ----------------------------- | -------: |
|
||||
| 2022-blake3-aes-128-gcm | 16 |
|
||||
| 2022-blake3-aes-256-gcm | 32 |
|
||||
| 2022-blake3-chacha20-poly1305 | 32 |
|
||||
|
@ -87,7 +87,7 @@ Shadowsocks 服务端端口。必填。
|
||||
使用 `openssl rand -base64 <长度>` 以生成与 shadowsocks-rust 兼容的密钥,长度取决于所使用的加密方法。
|
||||
|
||||
| 加密方法 | 密钥长度 |
|
||||
|-------------------------------|-----:|
|
||||
| ----------------------------- | -------: |
|
||||
| 2022-blake3-aes-128-gcm | 16 |
|
||||
| 2022-blake3-aes-256-gcm | 32 |
|
||||
| 2022-blake3-chacha20-poly1305 | 32 |
|
||||
|
@ -42,10 +42,7 @@ DNS 服务器的处理流程示意图如下:
|
||||
"dns": {
|
||||
"hosts": {
|
||||
"baidu.com": "127.0.0.1",
|
||||
"dns.google":[
|
||||
"8.8.8.8",
|
||||
""
|
||||
]
|
||||
"dns.google": ["8.8.8.8", ""]
|
||||
},
|
||||
"servers": [
|
||||
"8.8.8.8",
|
||||
|
@ -4,7 +4,5 @@
|
||||
"target": "esnext",
|
||||
"sourceMap": true
|
||||
},
|
||||
"exclude": [
|
||||
"node_modules"
|
||||
]
|
||||
"exclude": ["node_modules"]
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user