fix bad if
这个提交包含在:
父节点
23c40878e0
当前提交
e60f1fa14f
@ -236,7 +236,7 @@ function serveControls() {
|
||||
if (/status/.test(opts.path)) {
|
||||
res.end(
|
||||
'{"status":' + (state.config.disable ? 'disabled' : 'enabled')
|
||||
+ ',"ready":' + (state.config.relay && (state.config.token || state.config.agreeTos)) ? 'true' : 'false'
|
||||
+ ',"ready":' + ((state.config.relay && (state.config.token || state.config.agreeTos)) ? 'true' : 'false')
|
||||
+ '}');
|
||||
return;
|
||||
}
|
||||
|
||||
正在加载...
x
在新工单中引用
屏蔽一个用户