Skip to content
This repository was archived by the owner on Nov 29, 2025. It is now read-only.

Commit f89cb34

Browse files
committed
Remove extra_servers.txt configuration file and update sub_handler function for clarity
- Deleted the `extra_servers.txt` file as it was no longer needed. - Refactored the `sub_handler` function to improve variable naming, changing `url` to `query_url` for better readability and understanding of the code's purpose.
1 parent e92d428 commit f89cb34

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

base/_SubConfig/extra_servers.txt

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/web_handlers/interfaces.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ pub async fn sub_handler(
194194
}
195195

196196
let urls = match query.url.as_deref() {
197-
Some(url) => url_decode(url).split('|').map(|s| s.to_owned()).collect(),
197+
Some(query_url) => query_url.split('|').map(|s| s.to_owned()).collect(),
198198
None => {
199199
if authorized {
200200
global.default_urls.clone()

0 commit comments

Comments
 (0)