mirror of
				https://github.com/v2board/v2board.git
				synced 2025-10-31 17:31:49 +08:00 
			
		
		
		
	update
This commit is contained in:
		| @@ -80,8 +80,8 @@ class ServerService | |||||||
|                     $json->inbound->streamSettings->quicSettings = json_decode($server->networkSettings); |                     $json->inbound->streamSettings->quicSettings = json_decode($server->networkSettings); | ||||||
|                     break; |                     break; | ||||||
|             } |             } | ||||||
|             return $json; |  | ||||||
|         } |         } | ||||||
|  |         return $json; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     private function setRule(Server $server, object $json) |     private function setRule(Server $server, object $json) | ||||||
| @@ -104,8 +104,8 @@ class ServerService | |||||||
|                 $protocolObj->outboundTag = 'block'; |                 $protocolObj->outboundTag = 'block'; | ||||||
|                 array_push($json->routing->rules, $protocolObj); |                 array_push($json->routing->rules, $protocolObj); | ||||||
|             } |             } | ||||||
|             return $json; |  | ||||||
|         } |         } | ||||||
|  |         return $json; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     private function setTls(Server $server, object $json) |     private function setTls(Server $server, object $json) | ||||||
| @@ -125,7 +125,7 @@ class ServerService | |||||||
|                 $json->inbound->streamSettings->tlsSettings->allowInsecure = (int)$tlsSettings->allowInsecure ? true : false; |                 $json->inbound->streamSettings->tlsSettings->allowInsecure = (int)$tlsSettings->allowInsecure ? true : false; | ||||||
|             } |             } | ||||||
|             $json->inbound->streamSettings->tlsSettings->certificates[0] = $tls; |             $json->inbound->streamSettings->tlsSettings->certificates[0] = $tls; | ||||||
|  |         } | ||||||
|         return $json; |         return $json; | ||||||
|     } |     } | ||||||
| } | } | ||||||
| } |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user