bdy 1.22.80 → 1.22.81-beta

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.80",
4
+ "version": "1.22.81-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",
@@ -208,7 +208,9 @@ class TunnelHttp extends events_1.default {
208
208
  tmp[name] = headers[name];
209
209
  }
210
210
  });
211
- tmp['access-control-allow-origin'] = '*';
211
+ if (tmp['access-control-allow-origin'] === undefined) {
212
+ tmp['access-control-allow-origin'] = '*';
213
+ }
212
214
  if (tmp['set-cookie']) {
213
215
  const setCookie = [];
214
216
  const h = (this.req.headers.host ||
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.22.80",
4
+ "version": "1.22.81-beta",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "homepage": "https://buddy.works/docs/cli",