update stash.php
Some checks are pending
Docker Build and Publish / build (push) Waiting to run

This commit is contained in:
xboard 2025-02-16 18:15:20 +08:00
parent 8098cf3ee2
commit f42b42d6b1

View File

@ -159,7 +159,7 @@ class Stash implements ProtocolInterface
switch (data_get($protocol_settings, 'network')) { switch (data_get($protocol_settings, 'network')) {
case 'tcp': case 'tcp':
$array['network'] = data_get($protocol_settings, 'network_settings.header.type', 'tcp'); $array['network'] = data_get($protocol_settings, 'network_settings.header.type', 'http');
$array['http-opts']['path'] = data_get($protocol_settings, 'network_settings.header.request.path', ['/']); $array['http-opts']['path'] = data_get($protocol_settings, 'network_settings.header.request.path', ['/']);
break; break;
case 'ws': case 'ws':