mirror of
https://github.com/yewstack/yew.git
synced 2025-12-08 21:26:25 +00:00
The webworker in the web_worker_fib exampel is now marked as a relative path (#3057)
This commit is contained in:
parent
38e2478d9a
commit
919695f5ef
@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user