update router getType
All checks were successful
Deploy to Production / deploy (push) Successful in 21s
All checks were successful
Deploy to Production / deploy (push) Successful in 21s
This commit is contained in:
3
app.js
3
app.js
@@ -39,6 +39,7 @@ const vocabRoutes = require('./routes/vocabRoutes');
|
||||
const grammarRoutes = require('./routes/grammarRoutes');
|
||||
const storyRoutes = require('./routes/storyRoutes');
|
||||
const learningContentRoutes = require('./routes/learningContentRoutes');
|
||||
const uploadRoutes = require('./routes/uploadRoutes');
|
||||
|
||||
/**
|
||||
* Initialize Express Application
|
||||
@@ -153,6 +154,7 @@ app.get('/api', (req, res) => {
|
||||
games: '/api/games',
|
||||
gameTypes: '/api/game-types',
|
||||
vocab: '/api/vocab',
|
||||
upload: '/api/upload',
|
||||
},
|
||||
documentation: '/api-docs',
|
||||
});
|
||||
@@ -210,6 +212,7 @@ app.use('/api/vocab', vocabRoutes);
|
||||
app.use('/api/grammar', grammarRoutes);
|
||||
app.use('/api/stories', storyRoutes);
|
||||
app.use('/api/learning-content', learningContentRoutes);
|
||||
app.use('/api/upload', uploadRoutes);
|
||||
|
||||
/**
|
||||
* Queue Status Endpoint
|
||||
|
||||
Reference in New Issue
Block a user