12 lines
196 B
JavaScript
12 lines
196 B
JavaScript
import dot from 'dot'
|
|
import fs from 'fs'
|
|
|
|
export default class IndexRoutes {
|
|
constructor(opts = {}) {
|
|
this.indexBody = ''
|
|
})
|
|
|
|
async sendIndex(ctx) {
|
|
ctx.body = this.indexBody
|
|
}
|
|
}
|