Register router
This commit is contained in:
parent
107bd08e21
commit
dfda2f0f54
|
@ -28,6 +28,7 @@ import opsRoutes from "./ops"
|
|||
import debugRoutes from "./debug"
|
||||
import Router from "@koa/router"
|
||||
import { api as pro } from "@budibase/pro"
|
||||
import rowActionRoutes from "./rowAction"
|
||||
|
||||
export { default as staticRoutes } from "./static"
|
||||
export { default as publicRoutes } from "./public"
|
||||
|
@ -65,6 +66,7 @@ export const mainRoutes: Router[] = [
|
|||
opsRoutes,
|
||||
debugRoutes,
|
||||
environmentVariableRoutes,
|
||||
rowActionRoutes,
|
||||
// these need to be handled last as they still use /api/:tableId
|
||||
// this could be breaking as koa may recognise other routes as this
|
||||
tableRoutes,
|
||||
|
|
Loading…
Reference in New Issue