Expose search API endpoint

This commit is contained in:
Andrew Kingston 2021-04-29 14:55:33 +01:00
parent 379df050cf
commit 35f9dcf3f6
3 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ const queryRoutes = require("./query")
const hostingRoutes = require("./hosting")
const backupRoutes = require("./backup")
const devRoutes = require("./dev")
const searchRoutes = require("./search")
exports.mainRoutes = [
authRoutes,
@ -51,6 +52,7 @@ exports.mainRoutes = [
// this could be breaking as koa may recognise other routes as this
tableRoutes,
rowRoutes,
searchRoutes,
]
exports.staticRoutes = staticRoutes