pinokiod 3.8.19 → 3.8.20

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.
@@ -97,6 +97,10 @@ class Caddy {
97
97
  {
98
98
  "match": [{ "host": ["l.pinokio.localhost"] }],
99
99
  "handle": [
100
+ {
101
+ "handler": "request_header",
102
+ "delete": ["Origin"]
103
+ },
100
104
  {
101
105
  "handler": "reverse_proxy",
102
106
  "upstreams": [{ "dial": "127.0.0.1:1234" }]
@@ -117,6 +121,10 @@ class Caddy {
117
121
  {
118
122
  "match": [{ "host": ["o.pinokio.localhost"] }],
119
123
  "handle": [
124
+ {
125
+ "handler": "request_header",
126
+ "delete": ["Origin"]
127
+ },
120
128
  {
121
129
  "handler": "reverse_proxy",
122
130
  "upstreams": [{ "dial": "127.0.0.1:11434" }]
@@ -137,6 +145,10 @@ class Caddy {
137
145
  {
138
146
  "match": [{ "host": ["a.pinokio.localhost"] }],
139
147
  "handle": [
148
+ {
149
+ "handler": "request_header",
150
+ "delete": ["Origin"]
151
+ },
140
152
  {
141
153
  "handler": "reverse_proxy",
142
154
  "upstreams": [{ "dial": "127.0.0.1:7860" }]
@@ -157,6 +169,10 @@ class Caddy {
157
169
  {
158
170
  "match": [{ "host": ["b.pinokio.localhost"] }],
159
171
  "handle": [
172
+ {
173
+ "handler": "request_header",
174
+ "delete": ["Origin"]
175
+ },
160
176
  {
161
177
  "handler": "reverse_proxy",
162
178
  "upstreams": [{ "dial": "127.0.0.1:7861" }]
@@ -177,6 +193,10 @@ class Caddy {
177
193
  {
178
194
  "match": [{ "host": ["c.pinokio.localhost"] }],
179
195
  "handle": [
196
+ {
197
+ "handler": "request_header",
198
+ "delete": ["Origin"]
199
+ },
180
200
  {
181
201
  "handler": "reverse_proxy",
182
202
  "upstreams": [{ "dial": "127.0.0.1:7862" }]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinokiod",
3
- "version": "3.8.19",
3
+ "version": "3.8.20",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {