From f42b42d6b1e16a1efe3bcdd797e5a98340c7f235 Mon Sep 17 00:00:00 2001 From: xboard Date: Sun, 16 Feb 2025 18:15:20 +0800 Subject: [PATCH] update stash.php --- app/Protocols/Stash.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Protocols/Stash.php b/app/Protocols/Stash.php index 0723da0..927e95e 100644 --- a/app/Protocols/Stash.php +++ b/app/Protocols/Stash.php @@ -159,7 +159,7 @@ class Stash implements ProtocolInterface switch (data_get($protocol_settings, 'network')) { 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', ['/']); break; case 'ws':