(require("hexo-editor-serever"))(app, opts)
mount hexo-editor-server to koa app
Parameters:
Name | Type | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
app |
Koa | koa app instance | |||||||||||||||
opts |
Object | options
Properties
|
Returns:
- Type
- void