Would be possible to define following section to map a query param to a local file name?
"/search?name=:name?&filter=": {
"config": true,
"fetch": "./public/company${req.params.name}.html",
"fetchCount": -1
}
The local file public/company_google.html should be then returned as respone of http://localhost:3000/search?name=google&filter=.
Would be possible to define following section to map a query param to a local file name?
"/search?name=:name?&filter=": {
"config": true,
"fetch": "./public/company${req.params.name}.html",
"fetchCount": -1
}
The local file public/company_google.html should be then returned as respone of http://localhost:3000/search?name=google&filter=.