Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does white-listing work? #10

Open
RacingTadpole opened this issue Aug 15, 2015 · 0 comments
Open

Does white-listing work? #10

RacingTadpole opened this issue Aug 15, 2015 · 0 comments

Comments

@RacingTadpole
Copy link

I tried to set up a URL whitelist for my Meteor app, as described at https://github.com/prerender/prerender-node . I added them using prerenderio.whitelisted(), in the server directory, eg.:

prerenderio.set('prerenderToken', '<TOKEN>');
prerenderio.whitelisted([
    '^/',
    '^/demo/.*'
]);

However when I try using curl to download a non-whitelisted page with ?_escaped_fragment_= appended, I get the pre-rendered page.

Have I made a mistake, or does the whitelist not work with Meteor? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant