Skip to main content

resolve_www_dir

Function resolve_www_dir 

Source
pub async fn resolve_www_dir(www_dir: &Path) -> PathBuf
Expand description

Resolves the effective www directory, handling wasm-pack nested output.

§Arguments

  • &Path - The candidate www directory path.

§Returns

  • PathBuf - The resolved www directory containing index.html.