diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 117a94a..ffb63a7 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -191,7 +191,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Fetch Version - run: | + run: |- sudo snap install yq cd nyalcf_gui nyalcf_version=$(yq eval '.version' pubspec.yaml) diff --git a/nyalcf_core/lib/network/dio/basic_config.dart b/nyalcf_core/lib/network/dio/basic_config.dart index bb1ae49..eb096f7 100644 --- a/nyalcf_core/lib/network/dio/basic_config.dart +++ b/nyalcf_core/lib/network/dio/basic_config.dart @@ -11,9 +11,8 @@ BaseOptions options = BaseOptions( 'Nya/LoCyanFrp $appendInfo host=${Platform.operatingSystem}/${Platform.operatingSystemVersion}', }, ); -const apiV2Url = 'https://api-v2-next.locyanfrp.cn/api/v2'; +const apiV2Url = 'https://api-v2.locyanfrp.cn/api/v2'; // const apiV2Url = 'http://localhost:18080/api/v2'; -const frpcConfigUrl = 'https://lcf-frps-api.locyanfrp.cn/api'; const githubApiUrl = 'https://api-gh.1l1.icu'; const githubMainUrl = 'https://github.com';