我对 Meteor 0.6.6.2 有疑问
当我在生产中部署时。我必须遵循错误:
/home/gt/webapps/meteor/bundle/programs/server/boot.js:185
}).run();
^
Error: a route URL prefix must begin with a slash
at _.extend.declare (packages/routepolicy/routepolicy.js:95)
at new StreamServer (packages/livedata/stream_server.js:23)
at new Server (packages/livedata/livedata_server.js:980)
at Package (packages/livedata/server_convenience.js:10)
at packages/livedata.js:3909:4
at packages/livedata.js:3920:3
at /home/gt/webapps/meteor/bundle/programs/server/boot.js:154:10
at Array.forEach (native)
at Function._.each._.forEach (/home/gt/webapps/meteor/bundle/programs/server/node_modules/underscore/underscore.js:79:11)
at /home/gt/webapps/meteor/bundle/programs/server/boot.js:81:5
我的 root_url 设置为:
导出 ROOT_URL=' http ://sub.mydomain.com '
我对旧版本的 Meteor 没有问题。