By default: Lunatic workers are added to the public/workers folder of the current project when the library is installed.
If you want to install inside another folder, just run npx @inseefr/lunatic workers my-custom-folder. Workers will be available to the my-custom-folder/workers folder of the current project.
If app is running under http://localhost/absc/sdfs, workers are loaded from http://localhost/absc/sdfs/workers instead of http://localhost/workers. This PR fix this issue.
By default: Lunatic workers are added to the
public/workers
folder of the current project when the library is installed. If you want to install inside another folder, just runnpx @inseefr/lunatic workers my-custom-folder
. Workers will be available to themy-custom-folder/workers
folder of the current project.If app is running under
http://localhost/absc/sdfs
, workers are loaded fromhttp://localhost/absc/sdfs/workers
instead ofhttp://localhost/workers
. This PR fix this issue.