@rizom/brain 0.2.0-alpha.18 → 0.2.0-alpha.19
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/dist/brain.js +25 -25
- package/dist/site.js +5 -5
- package/dist/site.js.map +1 -1
- package/package.json +1 -1
- package/templates/deploy/Caddyfile +1 -6
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# Internal Caddy — path-based routing to brain services.
|
|
2
2
|
# kamal-proxy terminates TLS externally; this runs inside the container.
|
|
3
3
|
:80 {
|
|
4
|
-
@preview
|
|
4
|
+
@preview header_regexp preview_host Host ^(?:preview\..+|.+-preview\..+)$
|
|
5
5
|
handle @preview {
|
|
6
6
|
reverse_proxy localhost:4321
|
|
7
7
|
|
|
@@ -50,11 +50,6 @@
|
|
|
50
50
|
reverse_proxy localhost:3335
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
@root path /
|
|
54
|
-
handle @root {
|
|
55
|
-
redir /.well-known/agent-card.json 302
|
|
56
|
-
}
|
|
57
|
-
|
|
58
53
|
# Production site: prefer the webserver when present; otherwise fall back
|
|
59
54
|
# to the A2A interface so core-only deployments never return a bare 502.
|
|
60
55
|
handle {
|