How do I place a file in the root directory?


I am trying to install a service worker on my site, which requires the file to be in the root directory, how exactly do I go about this with trellis?

Place it directly in the document root — the site/web/ directory.

1 Like

Should it be in shared or current, my guess would be shared

It should be committed to the web folder of your bedrock site:

This is what’s served in the web root.