update: fix typo

This commit is contained in:
tokumeikoi 2022-05-11 01:01:55 +08:00
parent 709929a5a3
commit c09ab693bb

View File

@ -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);