[Fix] Stability

This commit is contained in:
Alex 2026-07-27 20:36:23 +02:00
commit 8082050170
Signed by: alex
SSH key fingerprint: SHA256:D1+Ub8o0v4K5y1JNivW8IxEOelqLSvPmUzBbDIoZkRQ
20 changed files with 563 additions and 464 deletions

View file

@ -9,8 +9,8 @@ pub struct RateLimitConfig {
pub transport_connections_per_ip: usize,
}
pub fn cors_origin() -> String {
env::var("CORS_ORIGIN").unwrap_or_else(|_| "https://tensamin.net".to_string())
pub const fn cors_origin() -> &'static str {
"*"
}
impl Default for RateLimitConfig {