We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9ee27e4 commit 55ffb13Copy full SHA for 55ffb13
src/main.rs
@@ -43,7 +43,7 @@ async fn main() {
43
.connect_timeout(Duration::from_secs(10))
44
.default_headers(default_headers)
45
.user_agent(concat!(
46
- "minecraftserviceschecker/",
+ "mcping.me/",
47
env!("CARGO_PKG_VERSION"),
48
" (https://github.com/randomairborne/mcping)"
49
))
@@ -87,7 +87,7 @@ static CACHE_CONTROL_AGE: HeaderValue = HeaderValue::from_static("s-maxage=30");
87
static CSP_VALUE: HeaderValue = HeaderValue::from_static(
88
"default-src 'self'; \
89
img-src 'self' data:; \
90
- connect-src 'self' https://*.giveip.io; \
+ connect-src 'self' https://v4.giveip.io; \
91
script-src 'self' https://static.cloudflareinsights.com; \
92
style-src 'self';\
93
object-src 'none'; \
0 commit comments