-
Notifications
You must be signed in to change notification settings - Fork 283
Expand file tree
/
Copy pathindex.js
More file actions
19 lines (18 loc) · 787 Bytes
/
index.js
File metadata and controls
19 lines (18 loc) · 787 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import docsController from './docs.js';
import configController from './config.js';
import apiController from './api.js';
import rootController from './root.js';
import encoderController from './encoder.js';
import decoderController from './decoder.js';
import authCoderController from './authcoder.js';
import webController from './web.js';
export const registerRoutes = (fastify, options) => {
fastify.register(docsController, options);
fastify.register(configController, options);
fastify.register(apiController, options);
fastify.register(rootController, options);
fastify.register(encoderController, options);
fastify.register(decoderController, options);
fastify.register(authCoderController, options);
fastify.register(webController, options);
};