Fix media-backend/media-webui: re-copy from post-revert MediaCollection
The original MediaEngine extraction (later folded into this repo) had been done BEFORE the owner's decision to revert the MediaViewer/Forge/ etc. rename, and was never re-extracted afterward like the other 7 service repos were - it silently carried stale renamed-era text (e.g. 'Porter' instead of 'MediaServant') into Go doc comments, WebUI prose, project-icons.json, and app-config.ts. Re-copied both directories fresh from the current (correctly reverted) MediaCollection/backend and MediaCollection/WebUI, then re-applied the go.mod replace-directive fix and re-added SECURITY_AUDIT.md (also newly migrated from MediaCollection root - a real deployment security checklist that would otherwise have been lost when MediaCollection is deleted). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
acde180086
commit
38a349eb52
20 files changed
+74
-55
No files matched your search
@@ -441,7 +441,7 @@ func firstString(values map[string]any, keys ...string) string {
|
||||
|
||||
// workflowFileServantPaths mirrors the search order resolveWorkflowFile used to walk locally
|
||||
// (InputRoot, MediaRoots, DownloadsRoot, OutputRoot) but as Servant-side mount prefixes, since
|
||||
// Forge no longer has any of those roots mounted on its own filesystem.
|
||||
// MediaTools no longer has any of those roots mounted on its own filesystem.
|
||||
var workflowFileServantPaths = []string{"/mount/inputs/", "/media/", "/media/downloads/", "/mount/generated/"}
|
||||
|
||||
// fetchWorkflowFileFromServant locates a converter input under any of Servant's mounts and
|
||||
|
||||
Reference in new issue
Block a user