This file ( 572B ) exceeds the allowed full mode (48 kb) size.
The editor full hight is disabled, only scrolling is allowed..
If you wish to edit a file, it is recommended to use the scroll mode as some users do not like the full height
mode, although some users like it.
"use strict";
var express = require('express');
var app = module.exports = express();
var args = process.argv;
app.configure(function() {
app.set('port', process.env.PORT || 3000);
app.use(express.static(__dirname + '/../test/fixtures'));
});
app.get('/env', function(req, res) {
res.send('Howdy from ' + app.get('env') + '!');
});
// Setup simple echo for each additional argument passed for testing
args.slice(2).forEach(function(arg) {
app.get('/' + arg, function(req, res) {
res.send('Howdy ' + arg + ' from ' + app.get('env') + '!');
});
});