dfischer / meteor-prerenderio

A meteor wrapper for https://prerender.io/
56 stars 9 forks source link

Connect vs Express compatibility issues, and Fiber wrap. Fixes #1 #2

Closed electricjesus closed 9 years ago

electricjesus commented 9 years ago
dfischer commented 9 years ago

Wow that is some serious code I won't understand. You rock. Let me test it.

dfischer commented 9 years ago

I'm getting this error:

ReferenceError: WebApp is not defined
W20141024-11:55:49.072(-7)? (STDERR)     at Package (packages/dfischer:prerenderio/dfischer:prerenderio.js:6)

For some reason.

WebApp.rawConnectHandlers.use(function(req, res, next)

that doesn't make much sense to me since it worked before...?

dfischer commented 9 years ago

Can't seem to figure out why WebApp would be undefined. Thoughts?

electricjesus commented 9 years ago

Huh. That's really weird. Looks like we have to wrap it in an Meteor.startup() function