Comparing version 1.2.0 to 1.2.1
{ | ||
"name": "fastboot", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Library for rendering Ember apps in node.js", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -20,3 +20,3 @@ 'use strict'; | ||
this.headers[header] = value; | ||
this.headers[header.toLowerCase()] = value; | ||
} | ||
@@ -23,0 +23,0 @@ } |
@@ -174,3 +174,5 @@ 'use strict'; | ||
this._head = head; | ||
this._body = body; | ||
// Adding script boundary around the body | ||
this._body = `<script type="x/boundary" id="fastboot-body-start"></script>${body}<script type="x/boundary" id="fastboot-body-end"></script>`; | ||
} | ||
@@ -194,3 +196,3 @@ } | ||
isBodyReplaced = true; | ||
return '<script type="x/boundary" id="fastboot-body-start"></script>' + body + '<script type="x/boundary" id="fastboot-body-end"></script>'; | ||
return body; | ||
} | ||
@@ -197,0 +199,0 @@ return ''; |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9
46785
16
989