update stash.php

This commit is contained in:
xboard 2025-02-16 18:15:20 +08:00
parent 58a9303e5f
commit a62295ea82

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':