Irina Rapoport
Irina Rapoport

Reputation: 1692

Prefixing all URLs in Meteor

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

Answers (1)

FullStack
FullStack

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

Related Questions