Protecting sensitif folders/files in Phoenix 1.7.14

Why i can access folder like below in browser
http://localhost:4000/assets/app.js

I would like to protect all folders when it comes production, so another user around the world can not make access folder that contain my code/javascript code

They are protected in production, what you see can only happen in dev environment.

2 Likes

Thankyou Sir,
I never use in production before, would like to try then…