The webworker in the web_worker_fib exampel is now marked as a relative path (#3057)

This commit is contained in:
Kai Salmon 2023-01-01 18:27:07 +00:00 committed by GitHub
parent 38e2478d9a
commit 919695f5ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,4 +52,8 @@ impl yew_agent::Worker for Worker {
fn name_of_resource() -> &'static str {
"worker.js"
}
fn resource_path_is_relative() -> bool {
true
}
}