modrinth_api.dart:拦截器改为只替换 options.baseUrl,path 保持相对 /v2/search、query 留在 queryParameters,避免"整串写回 path"导致的 host 缺失 + query 重复拼接。mirror_service.dart:新增 apiBase getter,返回当前镜像的 API base(official→api.modrinth.com、mcim→modrinth-api.mcimirror.top、custom→自定义 base) Signed-off-by: driftinblock <3480428251@qq.com>
31 lines
964 B
Plaintext
31 lines
964 B
Plaintext
# This file tracks properties of this Flutter project.
|
|
# Used by Flutter tool to assess capabilities and perform upgrades etc.
|
|
#
|
|
# This file should be version controlled and should not be manually edited.
|
|
|
|
version:
|
|
revision: "dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668"
|
|
channel: "stable"
|
|
|
|
project_type: app
|
|
|
|
# Tracks metadata for the flutter migrate command
|
|
migration:
|
|
platforms:
|
|
- platform: root
|
|
create_revision: dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668
|
|
base_revision: dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668
|
|
- platform: web
|
|
create_revision: dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668
|
|
base_revision: dec2ee5c1f98f8e84a7d5380c05eb8a3d0a81668
|
|
|
|
# User provided section
|
|
|
|
# List of Local paths (relative to this file) that should be
|
|
# ignored by the migrate tool.
|
|
#
|
|
# Files that are not part of the templates will be ignored by default.
|
|
unmanaged_files:
|
|
- 'lib/main.dart'
|
|
- 'ios/Runner.xcodeproj/project.pbxproj'
|