route Pages refactoring
This commit is contained in:
1 parent
5d6c6bbda6
commit
f703f78a89
1 file changed
-1
@@ -7,7 +7,6 @@ const {c} = require('../core/db')
|
||||
const getPathWithNoTrailingSlash = require('../lib/url').getPathWithNoTrailingSlash
|
||||
const {render} = require('../lib/render')
|
||||
|
||||
|
||||
async function getPage(path) {
|
||||
return await c('pages').findOne({url: path})
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user