Rewrite AppDomain to handle uncaughts & promises
This commit is contained in:
+1
-1
@@ -129,7 +129,7 @@ class WebFrame
|
||||
{
|
||||
if( !( this.result instanceof Buffer ) )
|
||||
{
|
||||
this.result = new Buffer( this.result + "" );
|
||||
this.result = Buffer.from( this.result + "" );
|
||||
}
|
||||
|
||||
var acceptEncoding = this.HTTP.request.headers[ "accept-encoding" ] || "";
|
||||
|
||||
Reference in New Issue
Block a user