mirror of
https://github.com/harivansh-afk/betterNAS.git
synced 2026-04-15 05:02:07 +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>
355 B
355 B
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 viaBETTERNAS_EXPORT_PATHS_JSON
This is the first real storage-facing surface in the monorepo.