Skip to content

Commit 4bf83ea

Browse files
fix: correct comment wording for media endpoint and YAML formatting
1 parent 60da5e3 commit 4bf83ea

1 file changed

Lines changed: 5 additions & 8 deletions

File tree

nemoclaw-blueprint/policies/presets/discord.yaml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ network_policies:
2020
- allow: { method: PUT, path: "/**" }
2121
- allow: { method: PATCH, path: "/**" }
2222
- allow: { method: DELETE, path: "/**" }
23-
# WebSocket gateway — must use access:full (CONNECT tunnel) instead
24-
# of protocol:rest. The proxy's HTTP idle timeout (~2 min) kills
23+
# WebSocket gateway — must use access: full (CONNECT tunnel) instead
24+
# of protocol: rest. The proxy's HTTP idle timeout (~2 min) kills
2525
# long-lived WebSocket connections; a CONNECT tunnel avoids
2626
# HTTP-level timeouts entirely. See #409.
2727
- host: gateway.discord.gg
@@ -34,16 +34,13 @@ network_policies:
3434
tls: terminate
3535
rules:
3636
- allow: { method: GET, path: "/**" }
37-
<<<<<<< HEAD
38-
binaries:
39-
- { path: /usr/local/bin/node }
40-
=======
41-
# Media/attachment uploads use a separate domain
37+
# Media/attachment access (read-only, proxied through Discord CDN)
4238
- host: media.discordapp.net
4339
port: 443
4440
protocol: rest
4541
enforcement: enforce
4642
tls: terminate
4743
rules:
4844
- allow: { method: GET, path: "/**" }
49-
>>>>>>> b926698 (fix: use CONNECT tunnel for WebSocket endpoints in Discord/Slack presets)
45+
binaries:
46+
- { path: /usr/local/bin/node }

0 commit comments

Comments
 (0)