gadicc / meteor-robots.txt

Serves a robot.txt which can be modified programatically
MIT License
10 stars 3 forks source link

Issues with hosting on meteor.com #1

Closed dburles closed 11 years ago

dburles commented 11 years ago

[Wed Sep 11 2013 06:49:11 GMT+0000 (UTC)] NOTICE Starting application on port 9912 [Wed Sep 11 2013 06:49:11 GMT+0000 (UTC)] INFO STATUS waiting -> starting [Wed Sep 11 2013 06:49:11 GMT+0000 (UTC)] INFO STATUS starting -> running [Wed Sep 11 2013 06:49:12 GMT+0000 (UTC)] WARNING throw(ex); ^ [Wed Sep 11 2013 06:49:12 GMT+0000 (UTC)] WARNING /meteor/dev_bundles/0.3.13/lib/nodemodules/fibers/future.js:173 [Wed Sep 11 2013 06:49:12 GMT+0000 (UTC)] WARNING TypeError: Cannot read property '1' of null at Package (packages/robots-txt/robots.js:10) at packages/robots-txt.js:70:4 at packages/robots-txt.js:79:3 at mains (/meteor/containers/1a8cf333-27a9-7766-1d2f-2d6f9d22d21a/bundle/programs/server/boot.js:153:10) at Array.forEach (native) at Function..each._.forEach (/meteor/dev_bundles/0.3.13/lib/node_modules/underscore/underscore.js:79:11) at /meteor/containers/1a8cf333-27a9-7766-1d2f-2d6f9d22d21a/bundle/programs/server/boot.js:80:5 [Wed Sep 11 2013 06:49:12 GMT+0000 (UTC)] INFO STATUS running -> waiting [Wed Sep 11 2013 06:49:12 GMT+0000 (UTC)] ERROR Application crashed with code: 1

dburles commented 11 years ago

Should mention this is latest meteor (0.6.5.1)

gadicc commented 11 years ago

Hey, thanks for pointing this out. Yes, there was an issue which broke on deployment in 0.6.5+. I've fixed this now. Unfortunately I also noticed that in 0.6.5+ it's no longer possible to override the /robots.txt route if public/robots.txt exists (see the README), so I hope you don't require this behaviour.

Please confirm that the fix works (although I did do a test deploy to meteor.com and all seems good). Thanks.

dburles commented 11 years ago

cool thanks - would you possibly be able to update the sitemaps package to reference this version of meteor-robots? cheers

gadicc commented 11 years ago

good call :) done.

dburles commented 11 years ago

Thanks!