mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 14:03:48 +00:00
Protect the control-plane API with explicit bearer auth, add node-scoped registration/heartbeat credentials, and make export mount paths an explicit contract field so mount profiles stay correct across runtimes. Generated with [Devin](https://cli.devin.ai/docs) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
11 lines
355 B
Markdown
11 lines
355 B
Markdown
# betterNAS Node Agent
|
|
|
|
Go service that runs on the NAS machine.
|
|
|
|
For the scaffold it does two things:
|
|
|
|
- serves `GET /health`
|
|
- serves a WebDAV export at `/dav/`
|
|
- optionally serves multiple configured exports at deterministic `/dav/exports/<slug>/` paths via `BETTERNAS_EXPORT_PATHS_JSON`
|
|
|
|
This is the first real storage-facing surface in the monorepo.
|