1
0
mirror of https://codeberg.org/teddit/teddit synced 2025-01-10 09:32:38 +01:00
teddit-reddit-frontend-alte.../routes/index.js
2021-09-02 19:56:37 +01:00

14 lines
394 B
JavaScript

const overridingRoutes = require('./overides');
const preferenceRoutes = require('./preferences');
const staticRoutes = require('./static');
const subredditRoutes = require('./subreddit');
const allRoutes = require('express').Router();
allRoutes.use(overridingRoutes);
allRoutes.use(staticRoutes);
allRoutes.use(preferenceRoutes);
allRoutes.use(subredditRoutes);
module.exports = allRoutes;