Cross platform asset resolver (#4521)
* add initial web resolver * re-export resolver and add playwright test * add documentation * fix clippy * fix docs + clippy
This commit is contained in:
1 parent
b72b142b53
commit
68645e7f0c
16 files changed
+607
-203
No files matched your search
@@ -66,7 +66,7 @@ pub(super) fn desktop_handler(
|
||||
}
|
||||
}
|
||||
|
||||
match dioxus_asset_resolver::serve_asset(request.uri().path()) {
|
||||
match dioxus_asset_resolver::native::serve_asset(request.uri().path()) {
|
||||
Ok(res) => responder.respond(res),
|
||||
Err(_e) => responder.respond(
|
||||
Response::builder()
|
||||
|
||||
Reference in new issue
Block a user