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();
167
167
```
168
168
169
169
170
- ## Dynamic Module Loading
170
+ ## Dynamic Module Loading < Badge text = " Not supported yet " type = " warning " />
171
171
172
172
AIScript supports dynamic module loading for advanced use cases:
173
173
Original file line number Diff line number Diff line change @@ -132,14 +132,14 @@ get /hello {
132
132
let abc = header.abc;
133
133
let xyz = cookie.xyz;
134
134
135
- // Set new header
136
- header.test = " Test Header" ;
137
- // Modify cookie
138
- cookie.xyz = " changed" ;
139
135
return f " header: abc= { abc} , cookie: xyz= { xyz} " ;
140
136
}
141
137
```
142
138
139
+ ::: warning
140
+ ` cookie ` is not supported yet.
141
+ :::
142
+
143
143
## Request Object
144
144
145
145
``` py
Original file line number Diff line number Diff line change 1
1
import { Layout as BasicLayout } from 'rspress/theme' ;
2
- import { Content } from 'rspress/runtime' ;
3
2
import { HomeLayout } from './pages/index' ;
4
- const Layout = ( ) => < BasicLayout > < Content /> </ BasicLayout > ;
5
-
3
+ const Layout = ( ) => < BasicLayout > </ BasicLayout > ;
6
4
7
5
export {
8
6
Layout ,
You can’t perform that action at this time.
0 commit comments