Skip to content
This repository has been archived by the owner on Jul 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #30 from imalberto/fix-archetype
Browse files Browse the repository at this point in the history
Remove references to tunnelMiddleware().
  • Loading branch information
imalberto committed Feb 27, 2014
2 parents 80be48c + eb56634 commit ea8c5ca
Show file tree
Hide file tree
Showing 10 changed files with 1 addition and 20 deletions.
3 changes: 0 additions & 3 deletions archetypes/app/default/app.js.hb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ app.use(libmojito.middleware());
// Load routes configuration from routes.json
app.mojito.attachRoutes();

// Setup the Tunnel middleware to support RPC
app.post('/tunnel', libmojito.tunnelMiddleware());

app.listen(app.get('port'), function () {
console.log('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
Expand Down
1 change: 0 additions & 1 deletion archetypes/app/default/application.json.hb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"settings": [ "master" ],
"appPort": "{{port}}",
"specs": {}
},
{
Expand Down
3 changes: 0 additions & 3 deletions archetypes/app/full/app.js.hb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ app.use(libmojito.middleware());
// Load routes configuration from routes.json
app.mojito.attachRoutes();

// Setup the Tunnel middleware to support RPC
app.post('/tunnel', libmojito.tunnelMiddleware());

app.listen(app.get('port'), function () {
console.log('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
Expand Down
1 change: 0 additions & 1 deletion archetypes/app/full/application.json.hb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
{
"settings": [ "master" ],

"appPort": "{{port}}",
"cacheViewTemplates": true,
"staticHandling": {
"appName": "app",
Expand Down
3 changes: 0 additions & 3 deletions archetypes/app/simple/app.js.hb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ app.use(libmojito.middleware());
// Load routes configuration from routes.json
app.mojito.attachRoutes();

// Setup the Tunnel middleware to support RPC
app.post('/tunnel', libmojito.tunnelMiddleware());

app.listen(app.get('port'), function () {
console.log('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
Expand Down
1 change: 0 additions & 1 deletion archetypes/app/simple/application.json.hb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"settings": [ "master" ],
"appPort": "{{port}}",
"specs": {}
},
{
Expand Down
3 changes: 0 additions & 3 deletions archetypes/app/yahoo/app.js.hb
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ app.use(libmojito.middleware());
// Load routes configuration from routes.json
app.mojito.attachRoutes();

// Setup the Tunnel middleware to support RPC
app.post('/tunnel', libmojito.tunnelMiddleware());

app.listen(app.get('port'), function () {
console.log('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
Expand Down
1 change: 0 additions & 1 deletion archetypes/app/yahoo/application.json.hb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
[
{
"settings": [ "master" ],
"appPort": "{{port}}",
"specs": {}
},
{
Expand Down
3 changes: 0 additions & 3 deletions archetypes/demo/quickstartguide/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,6 @@ app.use(libmojito.middleware());
// Load routes configuration from routes.json
app.mojito.attachRoutes();

// Setup the Tunnel middleware to support RPC
app.post('/tunnel', libmojito.tunnelMiddleware());

app.listen(app.get('port'), function () {
console.log('Server listening on port ' + app.get('port') + ' ' +
'in ' + app.get('env') + ' mode');
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mojito-cli-create",
"version": "0.1.0",
"version": "0.1.1",
"description": "Subcommand for mojito-cli to create mojito scaffolding/boilerplate.",
"dependencies": {
"mkdirp": "~0.3.5",
Expand Down

0 comments on commit ea8c5ca

Please sign in to comment.