feat(web): serve upload, WS, proxy, and gallery on Go listen
Mount media/ws/proxy/invoke routes in httpx, force gold onto Go via MARQDO_WEB_PLUGIN, and case-fold middleware header checks so all seven web live golds pass against libweb.so. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
c4a726397d
commit
e20cf8b386
13 files changed
+1481
-39
No files matched your search
@@ -100,6 +100,11 @@ func RouteSpecOf(appBag map[string]any, path string) (RouteSpec, error) {
|
||||
return parseRouteSpec(spec), nil
|
||||
}
|
||||
|
||||
// ParseRouteSpec reads mode and room_key from a ws_routes value.
|
||||
func ParseRouteSpec(spec any) RouteSpec {
|
||||
return parseRouteSpec(spec)
|
||||
}
|
||||
|
||||
func parseRouteSpec(spec any) RouteSpec {
|
||||
out := RouteSpec{Mode: ModeEcho}
|
||||
switch t := spec.(type) {
|
||||
|
||||
Reference in new issue
Block a user