bdy 1.22.80 → 1.22.81-dev
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.
- package/distTs/package.json +1 -1
- package/distTs/src/tunnel/http.js +3 -1
- package/package.json +1 -1
package/distTs/package.json
CHANGED
|
@@ -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 ||
|