How to change the root directory?

A nice and simple snippets that just rewrites everything to the public folder is the one I shared here:

Could you please try this one instead of the rewrite snippet you are using now?

6 Likes