I am working on a SaaS application and we have a service worker file for push notification. current we are giving worker files to the client and he adds that file to the root directory after that he can receive a push notification.
we do not want to involve the client to add the service worker file to the root directory.
Is there any other way to add the service worker file to the client root directory?