fix: render public folder links
All checks were successful
CI / hygiene (push) Successful in 2s
Build and Deploy / build-and-deploy (push) Successful in 31s
CI / test (push) Successful in 19s

This commit is contained in:
Grendgi
2026-06-16 16:39:04 +03:00
parent bfb1c2d0ab
commit 6bd2251a98
3 changed files with 203 additions and 6 deletions

View File

@@ -99,6 +99,8 @@ func main() {
r.Get("/public/{token}", nodeH.PublicMeta)
r.Get("/public/{token}/download", nodeH.PublicDownload)
r.Get("/public/{token}/nodes/{id}", nodeH.PublicChildMeta)
r.Get("/public/{token}/nodes/{id}/download", nodeH.PublicChildDownload)
srv := &http.Server{
Addr: ":" + cfg.ServerPort,