fn check_static_dir_exists(static_dir: &PathBuf, config: &ConfigFile) -> bool