Skip to content

Commit fe7d91a

Browse files
Copilotwarreth
andcommitted
Remove .org domain from default instances (6 instances total)
Co-authored-by: warreth <181062918+warreth@users.noreply.github.com>
1 parent f8bf274 commit fe7d91a

2 files changed

Lines changed: 7 additions & 14 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ As [Anna’s Archive](https://annas-archive.org/) Doesn't Have An API. The App W
5151
## Features ✨
5252

5353
- **Multi-Instance Support** - Configure multiple Anna's Archive mirrors with automatic failover
54-
- 7 pre-configured instances (Anna's Archive .org, .gs, .se, .li, .st, .pm + welib.org)
54+
- 6 pre-configured instances (Anna's Archive .gs, .se, .li, .st, .pm + welib.org)
5555
- Add custom mirror instances
5656
- Drag-to-reorder priority
5757
- Enable/disable instances

lib/services/instance_manager.dart

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -89,53 +89,46 @@ class InstanceManager {
8989

9090
// Default instances including all Anna's Archive mirrors and welib.org
9191
static final List<ArchiveInstance> _defaultInstances = [
92-
ArchiveInstance(
93-
id: 'annas_archive_org',
94-
name: "Anna's Archive (.org)",
95-
baseUrl: 'https://annas-archive.org',
96-
priority: 0,
97-
enabled: true,
98-
),
9992
ArchiveInstance(
10093
id: 'annas_archive_gs',
10194
name: "Anna's Archive (.gs)",
10295
baseUrl: 'https://annas-archive.gs',
103-
priority: 1,
96+
priority: 0,
10497
enabled: true,
10598
),
10699
ArchiveInstance(
107100
id: 'annas_archive_se',
108101
name: "Anna's Archive (.se)",
109102
baseUrl: 'https://annas-archive.se',
110-
priority: 2,
103+
priority: 1,
111104
enabled: true,
112105
),
113106
ArchiveInstance(
114107
id: 'annas_archive_li',
115108
name: "Anna's Archive (.li)",
116109
baseUrl: 'https://annas-archive.li',
117-
priority: 3,
110+
priority: 2,
118111
enabled: true,
119112
),
120113
ArchiveInstance(
121114
id: 'annas_archive_st',
122115
name: "Anna's Archive (.st)",
123116
baseUrl: 'https://annas-archive.st',
124-
priority: 4,
117+
priority: 3,
125118
enabled: true,
126119
),
127120
ArchiveInstance(
128121
id: 'annas_archive_pm',
129122
name: "Anna's Archive (.pm)",
130123
baseUrl: 'https://annas-archive.pm',
131-
priority: 5,
124+
priority: 4,
132125
enabled: true,
133126
),
134127
ArchiveInstance(
135128
id: 'welib_org',
136129
name: 'Welib.org',
137130
baseUrl: 'https://welib.org',
138-
priority: 6,
131+
priority: 5,
139132
enabled: true,
140133
),
141134
];

0 commit comments

Comments
 (0)