Update crates/bevy_asset/src/http_source.rs

Co-authored-by: atlv <email@atlasdostal.com>
This commit is contained in:
Pete Hayman 2025-07-09 14:33:40 +10:00 committed by GitHub
parent 3afe6bd1c0
commit 1c93df0622
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,8 @@ use std::path::{Path, PathBuf};
/// Adds the `http` and `https` asset sources to the app.
///
/// NOTE: Make sure to add this plugin *before* `AssetPlugin` to properly register http asset sources.
///
/// Any asset path that begins with `http` (when the `http` feature is enabled) or `https` (when the
/// `https` feature is enabled) will be loaded from the web via `fetch`(wasm) or `ureq`(native).
pub struct HttpSourcePlugin;