-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Just tried testing this and the service creates a wrong path for me in this function:
private locateFile(path, scriptDirectory): string {
if (path === 'opencv_js.wasm') {
return scriptDirectory + '/wasm/' + path;
} else {
return scriptDirectory + path;
}
}
The adding of the '/wasm/' result in an incorrect link as the path already seems to be 'http://localhost:4200/assets/opencv/wasm/3.4/'.
This is happening in Angular10 in development mode.
Metadata
Metadata
Assignees
Labels
No labels