all.js. I have a separate file,
admin.js that contains scripts used on the admin section of the project. This file is only included when browsing the admin section.
Is there any security risks involved in having
admin.js together with all other assets? Meaning that it is publicly available, if you know where to find it.
It does not contain any usernames or password. And it only makes calls to urls protected by admin middleware.