mountPanel
function mountPanel<App>( app, fetch, path?): App;Defined in: src/adapters/hono.ts:42
Route path (default "*", everything) to fetch on app, for every
method. Returns the app, so it chains. With a sub-path, mount both the path
and everything below it: mountPanel(app, fetch, "/webhooks").
Type Parameters
Section titled “Type Parameters”| Type Parameter |
|---|
App extends HonoAppLike<App> |
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
app |
App |
undefined |
fetch |
FetchHandler |
undefined |
path? |
string |
"*" |
Returns
Section titled “Returns”App