pinokiod 3.8.21 → 3.8.22
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/kernel/bin/caddy.js +0 -36
- package/package.json +1 -1
package/kernel/bin/caddy.js
CHANGED
|
@@ -57,12 +57,6 @@ class Caddy {
|
|
|
57
57
|
{
|
|
58
58
|
"match": [{ "method": ["OPTIONS"] }],
|
|
59
59
|
"handle": [
|
|
60
|
-
{
|
|
61
|
-
"handler": "request_header",
|
|
62
|
-
"set": {
|
|
63
|
-
"Origin": ["http://127.0.0.1"]
|
|
64
|
-
}
|
|
65
|
-
},
|
|
66
60
|
{
|
|
67
61
|
"handler": "headers",
|
|
68
62
|
"response": {
|
|
@@ -103,12 +97,6 @@ class Caddy {
|
|
|
103
97
|
{
|
|
104
98
|
"match": [{ "host": ["l.pinokio.localhost"] }],
|
|
105
99
|
"handle": [
|
|
106
|
-
{
|
|
107
|
-
"handler": "request_header",
|
|
108
|
-
"set": {
|
|
109
|
-
"Origin": ["http://127.0.0.1"]
|
|
110
|
-
}
|
|
111
|
-
},
|
|
112
100
|
{
|
|
113
101
|
"handler": "reverse_proxy",
|
|
114
102
|
"upstreams": [{ "dial": "127.0.0.1:1234" }]
|
|
@@ -129,12 +117,6 @@ class Caddy {
|
|
|
129
117
|
{
|
|
130
118
|
"match": [{ "host": ["o.pinokio.localhost"] }],
|
|
131
119
|
"handle": [
|
|
132
|
-
{
|
|
133
|
-
"handler": "request_header",
|
|
134
|
-
"set": {
|
|
135
|
-
"Origin": ["http://127.0.0.1"]
|
|
136
|
-
}
|
|
137
|
-
},
|
|
138
120
|
{
|
|
139
121
|
"handler": "reverse_proxy",
|
|
140
122
|
"upstreams": [{ "dial": "127.0.0.1:11434" }]
|
|
@@ -155,12 +137,6 @@ class Caddy {
|
|
|
155
137
|
{
|
|
156
138
|
"match": [{ "host": ["a.pinokio.localhost"] }],
|
|
157
139
|
"handle": [
|
|
158
|
-
{
|
|
159
|
-
"handler": "request_header",
|
|
160
|
-
"set": {
|
|
161
|
-
"Origin": ["http://127.0.0.1"]
|
|
162
|
-
}
|
|
163
|
-
},
|
|
164
140
|
{
|
|
165
141
|
"handler": "reverse_proxy",
|
|
166
142
|
"upstreams": [{ "dial": "127.0.0.1:7860" }]
|
|
@@ -181,12 +157,6 @@ class Caddy {
|
|
|
181
157
|
{
|
|
182
158
|
"match": [{ "host": ["b.pinokio.localhost"] }],
|
|
183
159
|
"handle": [
|
|
184
|
-
{
|
|
185
|
-
"handler": "request_header",
|
|
186
|
-
"set": {
|
|
187
|
-
"Origin": ["http://127.0.0.1"]
|
|
188
|
-
}
|
|
189
|
-
},
|
|
190
160
|
{
|
|
191
161
|
"handler": "reverse_proxy",
|
|
192
162
|
"upstreams": [{ "dial": "127.0.0.1:7861" }]
|
|
@@ -207,12 +177,6 @@ class Caddy {
|
|
|
207
177
|
{
|
|
208
178
|
"match": [{ "host": ["c.pinokio.localhost"] }],
|
|
209
179
|
"handle": [
|
|
210
|
-
{
|
|
211
|
-
"handler": "request_header",
|
|
212
|
-
"set": {
|
|
213
|
-
"Origin": ["http://127.0.0.1"]
|
|
214
|
-
}
|
|
215
|
-
},
|
|
216
180
|
{
|
|
217
181
|
"handler": "reverse_proxy",
|
|
218
182
|
"upstreams": [{ "dial": "127.0.0.1:7862" }]
|