Add service worker file in html element

According to this Firebase tutorial, in order to set up push notifications in a web app, there needs to be a file called firebase-messaging-sw.js in the root of the domain.

How do we add a file to the root of the domain? I am under the impression that the bubble element does not have a “project” setup, with a directory.

You need to use the Settings tab / SEO tab. Scroll at the bottom to add file to root

Ok, awesome. It doesn’t appear to be recognized, though. Any reason why that might happen?