|
|
@ -40,9 +40,7 @@ impl ResponseError for Error {
|
|
|
|
Self::NotHuman { target } => format!(
|
|
|
|
Self::NotHuman { target } => format!(
|
|
|
|
"It looks like you're accessing the Tatoeba API proxy from a script!\n\
|
|
|
|
"It looks like you're accessing the Tatoeba API proxy from a script!\n\
|
|
|
|
Tatoeba CORS restrictions do not apply outside of browsers, so please access the API directly:\n\
|
|
|
|
Tatoeba CORS restrictions do not apply outside of browsers, so please access the API directly:\n\
|
|
|
|
{target}\n\
|
|
|
|
{target}"),
|
|
|
|
If you feel this is mistake, please open an issue:\n\
|
|
|
|
|
|
|
|
https://codeberg.org/ElnuDev/tatoeba-api-rs"),
|
|
|
|
|
|
|
|
_ => self.to_string(),
|
|
|
|
_ => self.to_string(),
|
|
|
|
})
|
|
|
|
})
|
|
|
|
}
|
|
|
|
}
|
|
|
|