Reputation: 1692
I would like to prefix all URLs in my Meteor app using Iron Router with a random constant string. I am thinking it might make it more secure. How do I do it?
Upvotes: 0
Views: 49
Reputation: 6020
Use Meteor's random package: meteor add random
and call Random.id([n])
, where n
is the length of the random string you want. See documentation for more details.
Upvotes: 1