@yopdev/dev-server 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -131,6 +131,8 @@ class DefaultLambdaMapper {
131
131
  headers['content-type'] = request.headers['content-type'];
132
132
  if (request.headers['accept'])
133
133
  headers['accept'] = request.headers['accept'];
134
+ if (request.headers['origin'])
135
+ headers['origin'] = request.headers['origin'];
134
136
  const authorizationHeaderValue = request.headers['authorization'];
135
137
  if (authorizationHeaderValue) {
136
138
  headers['authorization'] = authorizationHeaderValue;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yopdev/dev-server",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "scripts": {
5
5
  "compile": "tsc",
6
6
  "pretest": "npm run compile",