Skip to content
This repository was archived by the owner on Nov 21, 2019. It is now read-only.

Commit db74592

Browse files
author
icymind
committed
copy fastopen value from user's config when upgrade cfgfile
1 parent 624c78a commit db74592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

js/vrouter-local.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1643,7 +1643,7 @@ class VRouter {
16431643
}
16441644
if (!this.config.version) {
16451645
// version 0.1 to 0.2
1646-
const ssFields = ['address', 'port', 'password', 'timeout', 'method']
1646+
const ssFields = ['address', 'port', 'password', 'timeout', 'method', 'fastopen']
16471647
ssFields.forEach((field) => {
16481648
newCfg.shadowsocks.server[field] = this.config.shadowsocks.server[field]
16491649
})

0 commit comments

Comments
 (0)