add: ability to join/leave/be banned from communities

This commit is contained in:
trisua 2025-03-31 15:39:49 -04:00
parent f3c2157dfc
commit 619184d02e
28 changed files with 618 additions and 197 deletions

View file

@ -200,7 +200,7 @@ pub(crate) async fn init_dirs(config: &Config) {
}
/// A random ASCII value inserted into the URL of static assets to "break" the cache. Essentially just for cache busting.
pub(crate) static CACHE_BREAKER: LazyLock<String> = LazyLock::new(|| salt());
pub(crate) static CACHE_BREAKER: LazyLock<String> = LazyLock::new(salt);
/// Create the initial template context.
pub(crate) async fn initial_context(