diff --git a/api/index.js b/api/index.js index 9693d29..f01402e 100644 --- a/api/index.js +++ b/api/index.js @@ -5,6 +5,7 @@ import api_auth from './authentication.js' import api_user from './user.js' import api_info from './info.js' import api_admin from './admin.js' +import api_stats from './stats.js' const VERSION = JSON.parse(fs.readFileSync('package.json', 'utf8')).version; const api = express.Router(); @@ -23,6 +24,7 @@ api.use(bodyParser.urlencoded({ extended: true })); api.use(api_auth) api.use(api_info) +api.use(api_stats) // These calls are gated within their respective routers api.use(api_user)