Permalink
Browse files

Mount the Wax server on the Route server, before the parent initialize.

  • Loading branch information...
1 parent 03f56af commit 6975ec616316fa1d85021abb8a8f67f1f1610c17 Will White committed Jun 28, 2011
Showing with 4 additions and 1 deletion.
  1. +0 −1 servers/Core.bones
  2. +4 −0 servers/Route.bones
View
1 servers/Core.bones
@@ -1,7 +1,6 @@
servers['Core'].augment({
initialize: function(parent, app) {
parent.call(this, app);
- this.use(new servers['Wax'](app));
if (app.config.tilePort === app.config.uiPort) {
this.use(new servers['Tile'](app));
}
View
4 servers/Route.bones
@@ -1,4 +1,8 @@
servers['Route'].augment({
+ initialize: function(parent, app) {
+ this.use(new servers['Wax'](app));
+ parent.call(this, app);
+ },
assets: {
styles: new mirror([
require.resolve('../assets/css/reset.css'),

0 comments on commit 6975ec6

Please sign in to comment.