File tree Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Expand file tree Collapse file tree 3 files changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ short.do_something();
167167```
168168
169169
170- ## Dynamic Module Loading
170+ ## Dynamic Module Loading < Badge text = " Not supported yet " type = " warning " />
171171
172172AIScript supports dynamic module loading for advanced use cases:
173173
Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ get /hello {
132132 let abc = header.abc;
133133 let xyz = cookie.xyz;
134134
135- // Set new header
136- header.test = " Test Header" ;
137- // Modify cookie
138- cookie.xyz = " changed" ;
139135 return f " header: abc= { abc} , cookie: xyz= { xyz} " ;
140136}
141137```
142138
139+ ::: warning
140+ ` cookie ` is not supported yet.
141+ :::
142+
143143## Request Object
144144
145145``` py
Original file line number Diff line number Diff line change 11import { Layout as BasicLayout } from 'rspress/theme' ;
2- import { Content } from 'rspress/runtime' ;
32import { HomeLayout } from './pages/index' ;
4- const Layout = ( ) => < BasicLayout > < Content /> </ BasicLayout > ;
5-
3+ const Layout = ( ) => < BasicLayout > </ BasicLayout > ;
64
75export {
86 Layout ,
You can’t perform that action at this time.
0 commit comments