Removed unused ISE, added framework header
This commit is contained in:
@@ -11,7 +11,7 @@ var Framework = function( garden )
|
||||
|
||||
var Router = require( "./Router" );
|
||||
this.router = new Router( garden );
|
||||
this.router.addRoute( "404", false, "p404" );
|
||||
this.router.addRoute( "404", false, "404" );
|
||||
|
||||
this.handlers = {
|
||||
"404": function()
|
||||
|
@@ -9,7 +9,8 @@ var HTTP = function( req, res )
|
||||
this.response = {
|
||||
statusCode: 200
|
||||
, headers: {
|
||||
'Content-Type': 'text/html'
|
||||
"Content-Type": "text/html"
|
||||
, "Powered-By": "Botanical Framework (Node.js)"
|
||||
}
|
||||
, write: function( str ) { _self.response.content = str }
|
||||
, writeLine: function( str ) { _self.response.content += str + "\n"; }
|
||||
|
Reference in New Issue
Block a user