aseUrl = location.origin + basePath;
        const queryParams = new URLSearchParams({
            best,
            randomName,
            proxyFormat,
            ipv6
        });

        if (password.length) {
            queryParams.append('key', password);
        }

        document.getElementById('autoSubscriptionLink').textContent = baseUrl + "sub?" + queryParams.toString();
        document.getElementById('subscriptionLink').textContent = baseUrl + "api/clash?" + queryParams.toString();
        d