Misc default value changes
This commit is contained in:
parent
e781db308b
commit
ca6a88798a
@ -28,8 +28,11 @@ function Dragonfly()
|
|||||||
Dragonfly.currentSphere = 10;
|
Dragonfly.currentSphere = 10;
|
||||||
|
|
||||||
Dragonfly.Spheres = {
|
Dragonfly.Spheres = {
|
||||||
|
// Debug
|
||||||
THERMO: 30
|
THERMO: 30
|
||||||
|
// Inspect
|
||||||
, STRATO: 20
|
, STRATO: 20
|
||||||
|
// Production
|
||||||
, HYDRO: 10
|
, HYDRO: 10
|
||||||
, LITHO: 0
|
, LITHO: 0
|
||||||
};
|
};
|
||||||
|
@ -44,7 +44,7 @@ Framework.prototype.run = function()
|
|||||||
}
|
}
|
||||||
|
|
||||||
Dragonfly.Info(
|
Dragonfly.Info(
|
||||||
this.HTTP.request.remoteAddr + " "
|
( this.HTTP.request.raw.headers[ "x-forwarded-for" ] || this.HTTP.request.remoteAddr ) + " "
|
||||||
+ method + ": " + encodeURI( this.HTTP.request.raw.url )
|
+ method + ": " + encodeURI( this.HTTP.request.raw.url )
|
||||||
+ " - " + this.HTTP.request.raw.headers["user-agent"]
|
+ " - " + this.HTTP.request.raw.headers["user-agent"]
|
||||||
, Dragonfly.Visibility.VISIBLE
|
, Dragonfly.Visibility.VISIBLE
|
||||||
|
@ -9,7 +9,7 @@ var HTTP = function( req, res )
|
|||||||
this.response = {
|
this.response = {
|
||||||
statusCode: 200
|
statusCode: 200
|
||||||
, headers: {
|
, headers: {
|
||||||
"Content-Type": "text/html"
|
"Content-Type": "text/html; charset=utf-8"
|
||||||
, "Powered-By": "Botanical Framework (Node.js)"
|
, "Powered-By": "Botanical Framework (Node.js)"
|
||||||
}
|
}
|
||||||
, write: function( str ) { _self.response.content = str }
|
, write: function( str ) { _self.response.content = str }
|
||||||
|
Loading…
Reference in New Issue
Block a user