Good day. I’m currently testing the firebase messaging using SPA. I followed the setup in firebase documentation of Google but I am having an issue in the retrieval of the service worker of the firebase.
Firebase requires that the service worker file is located in the root of the public directory of the web app. Unfortunately, I don’t know how to implement this since the only function that implement public related stuff that I know is putting the file in
statics directory. Is there any way to do this?