feat(image-hoster): enterprise redesign with obsidian liquid glass theme, server background vault, session governance with auto-expiration, live telemetry, and multi-format exports

This commit is contained in:
2026-10-27 16:04:50 +05:30
parent 550d7e23c4
commit 5596c18aed
11 changed files with 7308 additions and 1246 deletions
+11
View File
@@ -660,5 +660,16 @@ func NewRouter(pm *ProcessManager) http.Handler {
http.Error(w, "Image manipulator not found", http.StatusNotFound)
})
r.HandleFunc("/files/*", func(w http.ResponseWriter, req *http.Request) {
_ = pm.EnsureRunning(req.Context(), "image-hoster")
cfg := pm.getConfig("image-hoster")
if cfg != nil {
proxy := toolProxy(pm, "image-hoster", cfg.Port)
proxy.ServeHTTP(w, req)
return
}
http.Error(w, "Image hoster not found", http.StatusNotFound)
})
return r
}