Search.../

page

Sets or gets the page to route to.

Type:

stringRead & Write

Was this helpful?

Get the page the response routes to

Copy Code
1export function myRouter_Router(request) {
2
3 let page = response.page; // "myRouter-page"
4
5}
Set the page the response routes to

Copy Code
1export function myRouter_Router(request) {
2
3 response.page = "myRouter-page";
4
5}