aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-06-27 12:57:25 +0000
committerFuwn <[email protected]>2024-06-27 12:57:50 +0000
commitded848f4ed7f907cfff0b803001b28fbe401b1ea (patch)
tree9194fec2c791b2f39ca115455c7f2e908bf360cf
parentdocs(readme): update usage and format (diff)
downloadseptember-ded848f4ed7f907cfff0b803001b28fbe401b1ea.tar.xz
september-ded848f4ed7f907cfff0b803001b28fbe401b1ea.zip
fix(response): new latex.css location
-rw-r--r--Cargo.toml2
-rw-r--r--src/response.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 5674315..3285cb7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -2,7 +2,7 @@
[package]
name = "september"
-version = "0.2.22"
+version = "0.2.23"
authors = ["Fuwn <[email protected]>"]
edition = "2021"
description = "A simple and efficient Gemini-to-HTTP proxy."
diff --git a/src/response.rs b/src/response.rs
index 329d7b2..73a32e9 100644
--- a/src/response.rs
+++ b/src/response.rs
@@ -146,7 +146,7 @@ For example: to proxy "gemini://fuwn.me/uptime", visit "/proxy/fuwn.me/uptime".<
));
}
} else if !is_nocss {
- html_context.push_str(&format!(r#"<link rel="stylesheet" href="https://latex.now.sh/style.css"><style>{CSS}</style>"#));
+ html_context.push_str(&format!(r#"<link rel="stylesheet" href="https://latex.vercel.app/style.css"><style>{CSS}</style>"#));
if let Ok(primary) = var("PRIMARY_COLOUR") {
html_context