From 128cc42557c8d7da46c63a40ea4469ed0eb7f26d Mon Sep 17 00:00:00 2001 From: tempest Date: Sun, 13 Apr 2025 16:40:05 -0600 Subject: Compiles, cannot find data context --- src/data/config.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/data/config.rs') diff --git a/src/data/config.rs b/src/data/config.rs index bce5c94..9a17077 100644 --- a/src/data/config.rs +++ b/src/data/config.rs @@ -20,6 +20,7 @@ pub struct Config { footer_copyright: Option } +#[cfg(feature = "ssr")] impl Config { pub fn read_from_file>(path: P) -> Result { let config_contents = fs::read_to_string(&path) -- cgit 1.4.1