(Puser Beams Notification) Serve/upload file from the root of my website

167 views Asked by At

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"? enter image description here

1

There are 1 answers

0
Edison Guo On

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)