feat: link public folders to office viewer
All checks were successful
CI / hygiene (push) Successful in 2s
Build and Deploy / build-and-deploy (push) Successful in 32s
CI / test (push) Successful in 20s

This commit is contained in:
Grendgi
2026-06-16 16:48:01 +03:00
parent 6bd2251a98
commit c397ff2c90
2 changed files with 47 additions and 0 deletions

View File

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