diff options
| author | Xe Iaso <me@christine.website> | 2022-05-28 09:17:01 -0400 |
|---|---|---|
| committer | Xe Iaso <me@christine.website> | 2022-05-28 09:17:01 -0400 |
| commit | bdc64f78f2aeca9730fb27a4c4511d90c93f9d89 (patch) | |
| tree | 9bc510df9fecff9827c963cda2062ef1a28ca505 /src/app/poke.rs | |
| parent | ff64215d07ee32d53e0a01adcaf0dd8cba273e81 (diff) | |
| download | xesite-bdc64f78f2aeca9730fb27a4c4511d90c93f9d89.tar.xz xesite-bdc64f78f2aeca9730fb27a4c4511d90c93f9d89.zip | |
xeiaso.net
Signed-off-by: Xe Iaso <me@christine.website>
Diffstat (limited to 'src/app/poke.rs')
| -rw-r--r-- | src/app/poke.rs | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/app/poke.rs b/src/app/poke.rs index eddb85e..ef5f882 100644 --- a/src/app/poke.rs +++ b/src/app/poke.rs @@ -29,7 +29,7 @@ pub async fn the_cloud() -> Result<()> { async fn bing() -> Result<()> { let cli = reqwest::Client::new(); cli.get("https://www.bing.com/ping") - .query(&[("sitemap", "https://christine.website/sitemap.xml")]) + .query(&[("sitemap", "https://xeiaso.net/sitemap.xml")]) .header("User-Agent", crate::APPLICATION_NAME) .send() .await? @@ -42,7 +42,7 @@ async fn bing() -> Result<()> { async fn google() -> Result<()> { let cli = reqwest::Client::new(); cli.get("https://www.google.com/ping") - .query(&[("sitemap", "https://christine.website/sitemap.xml")]) + .query(&[("sitemap", "https://xeiaso.net/sitemap.xml")]) .header("User-Agent", crate::APPLICATION_NAME) .send() .await? @@ -56,17 +56,17 @@ async fn cloudflare() -> Result<()> { let cli = cfcache::Client::new(env::var("CF_TOKEN")?, env::var("CF_ZONE_ID")?)?; cli.purge( vec![ - "https://christine.website/sitemap.xml", - "https://christine.website", - "https://christine.website/blog", - "https://christine.website/blog.atom", - "https://christine.website/blog.json", - "https://christine.website/blog.rss", - "https://christine.website/gallery", - "https://christine.website/talks", - "https://christine.website/resume", - "https://christine.website/signalboost", - "https://christine.website/feeds", + "https://xeiaso.net/sitemap.xml", + "https://xeiaso.net", + "https://xeiaso.net/blog", + "https://xeiaso.net/blog.atom", + "https://xeiaso.net/blog.json", + "https://xeiaso.net/blog.rss", + "https://xeiaso.net/gallery", + "https://xeiaso.net/talks", + "https://xeiaso.net/resume", + "https://xeiaso.net/signalboost", + "https://xeiaso.net/feeds", ] .into_iter() .map(|i| i.to_string()) |
