mirror of
https://codeberg.org/tacerus/teddit.git
synced 2024-11-22 14:59:26 +01:00
20 lines
613 B
JavaScript
20 lines
613 B
JavaScript
const overridingRoutes = require('./overides');
|
|
const preferenceRoutes = require('./preferences');
|
|
const saveRoutes = require('./save');
|
|
const staticRoutes = require('./static');
|
|
const subredditRoutes = require('./subreddit');
|
|
const subscriptionRoutes = require('./subscription');
|
|
const userRoutes = require('./user');
|
|
|
|
const allRoutes = require('express').Router();
|
|
|
|
allRoutes.use(overridingRoutes);
|
|
allRoutes.use(staticRoutes);
|
|
allRoutes.use(preferenceRoutes);
|
|
allRoutes.use(subredditRoutes);
|
|
allRoutes.use(userRoutes);
|
|
allRoutes.use(subscriptionRoutes);
|
|
allRoutes.use(saveRoutes);
|
|
|
|
module.exports = allRoutes;
|