feat: update globa.hatter.ink

This commit is contained in:
2025-06-21 10:35:45 +08:00
parent c04dde9dcf
commit db816cc1e1
2 changed files with 7 additions and 7 deletions

View File

@@ -108,7 +108,7 @@ fn main() {
params.insert("pass", pass);
}
let client = reqwest::blocking::Client::new();
let post_result = client.post("https://hatter.ink/secfile/post.json")
let post_result = client.post("https://global.hatter.ink/secfile/post.json")
.form(&params)
.send();
match post_result {
@@ -125,7 +125,7 @@ fn main() {
params.insert("pretty", "true".to_string());
params.insert("targetUrl", full_link.to_string());
params.insert("aliveTimeMin", args.short_url_available_minutes.unwrap_or(10).to_string());
let otl_result = client.post("https://hatter.ink/onetimelink/add.json")
let otl_result = client.post("https://global.hatter.ink/onetimelink/add.json")
.form(&params)
.send();
if let Ok(response) = otl_result {
@@ -267,5 +267,5 @@ fn get_content_type(file_name: &str) -> String {
}
}
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250123T234805+08:00.MEUCIH4lvEhDT6ee1SnTyWMR
// cLqsF//wFAyCr76Mcw7f6IfiAiEA6C92us/RPatk9fZ4eot1zuudM+lNxdgrpgxoQXjcVhM=
// @SCRIPT-SIGNATURE-V1: yk-r1.ES256.20250621T103237+08:00.MEUCIHc34Zy2KI58wxBFq/U5
// ANIjsHjMBhOKGuci4sBnWCQNAiEA0MBBIsmAWPXGupKewS5z8LP3ERHdj15CuFOXGmNuUfI=