Lightweight simple translation module for node.js / express.js with dynamic json storage. Uses common __('...') syntax in app and templates.
3.09k
stars
421
forks
source link
i18n creating local files on url access #477
Closed
Macha-orange closed 3 years ago
Hello,
I'm using i18n for localisation on my nodejs website. My language parameter is in url so if you access :
mydomain.com/en/
You will get language from
./locales/en.json
My problem is there is some bot that try this :
So my server is restarting and create a .locales/htdocs.json file that is a copy from my main file EN.JSON.
How to stop this behavior?