diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-12 22:51:43 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-01-12 22:51:43 +0000 |
| commit | 51751d59f30a0c0f396afd1873ece9f4f77b44de (patch) | |
| tree | cfec6555427f1be38997e00f313549c41dfaa609 /docs/learnings/grasp-audit.md | |
| parent | ab3337d0a3bf25c282f4d48e5d6150cf291f41e5 (diff) | |
Change default port from 8080 to 7334 (NGIT on phone keypad)
- Update default bind address in src/config.rs to 127.0.0.1:7334
- Update all four critical config sources per AGENTS.md:
- src/config.rs (code default and tests)
- .env.example (development template)
- docs/reference/configuration.md (user documentation)
- nix/module.nix (NixOS deployment)
- Update all documentation examples and references:
- README.md (with note about phone keypad mnemonic)
- docs/how-to/*.md (deploy, prometheus-setup, test-compliance)
- docs/explanation/*.md (architecture, comparison)
- docs/learnings/grasp-audit.md
Port 7334 spells NGIT on a phone keypad, making it memorable and
project-specific.
All tests pass (336 lib tests + 51 integration tests).
Diffstat (limited to 'docs/learnings/grasp-audit.md')
| -rw-r--r-- | docs/learnings/grasp-audit.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/learnings/grasp-audit.md b/docs/learnings/grasp-audit.md index f4620d9..c7eff16 100644 --- a/docs/learnings/grasp-audit.md +++ b/docs/learnings/grasp-audit.md | |||
| @@ -110,7 +110,7 @@ use grasp_audit::client::AuditClient; | |||
| 110 | use grasp_audit::audit::AuditConfig; | 110 | use grasp_audit::audit::AuditConfig; |
| 111 | 111 | ||
| 112 | let config = AuditConfig::isolated(); | 112 | let config = AuditConfig::isolated(); |
| 113 | let client = AuditClient::new("ws://localhost:8080", config).await?; | 113 | let client = AuditClient::new("ws://localhost:7334", config).await?; |
| 114 | 114 | ||
| 115 | // Create and send an event - cleanup tags are added automatically | 115 | // Create and send an event - cleanup tags are added automatically |
| 116 | let event = client.event_builder() | 116 | let event = client.event_builder() |