From c09ab693bbd8e4392ef4741240f409a903916056 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Wed, 11 May 2022 01:01:55 +0800 Subject: [PATCH] update: fix typo --- app/Http/Controllers/Client/Protocols/Surge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Client/Protocols/Surge.php b/app/Http/Controllers/Client/Protocols/Surge.php index f1f0539f..2d0d6e2d 100644 --- a/app/Http/Controllers/Client/Protocols/Surge.php +++ b/app/Http/Controllers/Client/Protocols/Surge.php @@ -54,7 +54,7 @@ class Surge } // Subscription link - $subsURL = Helper::getSubscribeHost("/api/v1/client/subscribe?token={$user['token']}"); + $subsURL = Helper::getSubscribeUrl("/api/v1/client/subscribe?token={$user['token']}"); $subsDomain = $_SERVER['SERVER_NAME']; $config = str_replace('$subs_link', $subsURL, $config);