DEV Community

Discussion on: Push Notifications in ReactJS with OneSignal

Collapse
 
ibengeu profile image
ibenge Uforo

I'm back again Pato, been on this for weeks.

At the moment, i'm getting "the script resource is behind a redirect which is disallowed" and have tried

  • switching positions of the folder from src to root ie. where React service worker files and it's registration is.
  • Placing the main files without the folder at the root.
  • changing scope url to an absolute path but to no avail.
  • Registering the oneSignal service worker file in place of reacts and using the importScript.

Please help.