Function embedded_index

Source
pub async fn embedded_index<E: RustEmbed>(
    path: Path<PathBuf>,
) -> Result<EmbedFile, Error>
Expand description

endpoint for static files with index.html