WIP: SX request handler — shell statics not passing through
The handler routes correctly and renders content, but shell statics
(__shell-sx-css etc.) resolve to nil/empty in the handler scope.
use-wasm flag also not working — need to remove sx-browser.js fallback.
Needs: debug shell static resolution in SX handler scope.
Remove sx-browser.js from shell template entirely.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -73,7 +73,7 @@
|
|||||||
(make-symbol "~shared:shell/sx-page-shell")
|
(make-symbol "~shared:shell/sx-page-shell")
|
||||||
:title "SX"
|
:title "SX"
|
||||||
:csrf ""
|
:csrf ""
|
||||||
:page-sx ""
|
:page-sx (serialize full-ast)
|
||||||
:body-html body-html
|
:body-html body-html
|
||||||
:component-defs __shell-component-defs
|
:component-defs __shell-component-defs
|
||||||
:component-hash __shell-component-hash
|
:component-hash __shell-component-hash
|
||||||
@@ -89,7 +89,7 @@
|
|||||||
:inline-css __shell-inline-css
|
:inline-css __shell-inline-css
|
||||||
:inline-head-js __shell-inline-head-js
|
:inline-head-js __shell-inline-head-js
|
||||||
:init-sx __shell-init-sx
|
:init-sx __shell-init-sx
|
||||||
:use-wasm false
|
:use-wasm true
|
||||||
:meta-html "")
|
:meta-html "")
|
||||||
env))))
|
env))))
|
||||||
(fn (err) (str "<h1>Render error</h1><pre>" err "</pre>"))))))))
|
(fn (err) (str "<h1>Render error</h1><pre>" err "</pre>"))))))))
|
||||||
|
|||||||
Reference in New Issue
Block a user