fn web_options( frontend_dir: Option<PathBuf>, origins: &[String], public_origin: Option<&str>, ) -> Result<WebOptions, String>