route index clear
This commit is contained in:
1 parent
17fdb4b46e
commit
808b47c18a
1 file changed
-9
@@ -1,18 +1,9 @@
|
|||||||
import {readFile} from 'async-file'
|
import {readFile} from 'async-file'
|
||||||
import handlebars from 'handlebars'
|
import handlebars from 'handlebars'
|
||||||
import compose from 'koa-compose'
|
|
||||||
|
|
||||||
import {map, assign} from '../utils/common'
|
import {map, assign} from '../utils/common'
|
||||||
import {index as indexFile} from '../config'
|
import {index as indexFile} from '../config'
|
||||||
|
|
||||||
import sitemap from './sitemap'
|
|
||||||
|
|
||||||
export function routes(store) {
|
|
||||||
return compose([
|
|
||||||
sitemap(),
|
|
||||||
])
|
|
||||||
}
|
|
||||||
|
|
||||||
export function queryObject() {
|
export function queryObject() {
|
||||||
let toTrue = map(true, i => i === 'true')
|
let toTrue = map(true, i => i === 'true')
|
||||||
let toFalse = map(false, i => i === 'false')
|
let toFalse = map(false, i => i === 'false')
|
||||||
|
|||||||
Reference in new issue
Block a user