I would like to secure some important assets in rails. How can I do that?
I’m using vite to compile typescript, vue components, etc. And vite_rails gem to integrate it with rails.
The problem is that vite_rails outputs assets into public folder, but I don’t want them to be public. Only authorised users should be able to use these assets.