mirror of
https://codeberg.org/tacerus/teddit.git
synced 2025-03-28 18:36:54 +01:00
16 lines
459 B
JavaScript
16 lines
459 B
JavaScript
const overridingRoutes = require('./overides');
|
|
const preferenceRoutes = require('./preferences');
|
|
const staticRoutes = require('./static');
|
|
const subredditRoutes = require('./subreddit');
|
|
const userRoutes = require('./user');
|
|
|
|
const allRoutes = require('express').Router();
|
|
|
|
allRoutes.use(overridingRoutes);
|
|
allRoutes.use(staticRoutes);
|
|
allRoutes.use(preferenceRoutes);
|
|
allRoutes.use(subredditRoutes);
|
|
allRoutes.use(userRoutes);
|
|
|
|
module.exports = allRoutes;
|