diff options
Diffstat (limited to 'server/controllers/api/index.ts')
-rw-r--r-- | server/controllers/api/index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/controllers/api/index.ts b/server/controllers/api/index.ts index 1fd44ac11..3b499f3b7 100644 --- a/server/controllers/api/index.ts +++ b/server/controllers/api/index.ts | |||
@@ -5,6 +5,7 @@ import { jobsRouter } from './jobs' | |||
5 | import { oauthClientsRouter } from './oauth-clients' | 5 | import { oauthClientsRouter } from './oauth-clients' |
6 | import { serverRouter } from './server' | 6 | import { serverRouter } from './server' |
7 | import { usersRouter } from './users' | 7 | import { usersRouter } from './users' |
8 | import { accountsRouter } from './accounts' | ||
8 | import { videosRouter } from './videos' | 9 | import { videosRouter } from './videos' |
9 | 10 | ||
10 | const apiRouter = express.Router() | 11 | const apiRouter = express.Router() |
@@ -13,6 +14,7 @@ apiRouter.use('/server', serverRouter) | |||
13 | apiRouter.use('/oauth-clients', oauthClientsRouter) | 14 | apiRouter.use('/oauth-clients', oauthClientsRouter) |
14 | apiRouter.use('/config', configRouter) | 15 | apiRouter.use('/config', configRouter) |
15 | apiRouter.use('/users', usersRouter) | 16 | apiRouter.use('/users', usersRouter) |
17 | apiRouter.use('/accounts', accountsRouter) | ||
16 | apiRouter.use('/videos', videosRouter) | 18 | apiRouter.use('/videos', videosRouter) |
17 | apiRouter.use('/jobs', jobsRouter) | 19 | apiRouter.use('/jobs', jobsRouter) |
18 | apiRouter.use('/ping', pong) | 20 | apiRouter.use('/ping', pong) |