Free and Open-source video streaming suite. https://miracle-tv.live
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

21 lines
668 B

  1. import { Router, json } from 'express';
  2. import { apiV1CommonHeaders } from 'server/api/v1/middleware';
  3. import users from 'server/api/v1/handlers/users';
  4. import auth from 'server/api/v1/handlers/auth';
  5. import activities from 'server/api/v1/handlers/activities';
  6. import channels from 'server/api/v1/handlers/channels';
  7. import streamkeys from 'server/api/v1/handlers/streamkeys';
  8. const v1Router = Router();
  9. v1Router.use(apiV1CommonHeaders);
  10. v1Router.use(json());
  11. v1Router.use('/auth', auth);
  12. v1Router.use('/users', users);
  13. v1Router.use('/activities', activities);
  14. v1Router.use('/channels', channels);
  15. v1Router.use('/streamkeys', streamkeys);
  16. export default v1Router;