I'm building notification components for my ReactJS web app, and I'm using Pusher Beams, I don't understand step 2 in this tutorial, can anyone explain how to "serve this file from the root of your website"?
Asked
Active
Viewed 136 times
0

Edison Guo
- 25
- 2
- 6
1 Answers
0
Just figured it out, it means putting the service-worker.js file in public folder(I'm using React, so here it's public folder)

Edison Guo
- 25
- 2
- 6