fix: fun fact being loaded from the old data storage url (#668)

This commit is contained in:
Jacob 2026-08-04 20:34:37 +08:00 • committed by GitHub
parent 413411e1bc
commit e272c66696
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -21,7 +21,7 @@ const ONBOARDING_TIPS_BACKUP: &[&str] = &[
];
const FUNFACTS_URL: &str =
"https://raw.githubusercontent.com/Polyfrost/DataStorage/main/oneclient/funfacts.txt";
"https://data-v2.polyfrost.org/oneclient/funfacts.txt";
fn normalize_line_breaks(value: &str) -> String {
value.replace("/n", "\n").replace("\\n", "\n")