I have placed the service worker js file inside public/js folder and defined in the hooks.py but still it is not getting access in the root directory. Kindly help me out.
got the solution , you need to place it under www directory in frappe.
1 Like