Fix discovery endpoint route

This commit is contained in:
Cohee 2023-12-04 21:54:03 +02:00
parent 3085dbe12c
commit aff821aa07
1 changed files with 1 additions and 1 deletions

View File

@ -216,7 +216,7 @@ router.post('/delete', jsonParser, async (request, response) => {
* Discover the extension folders
* If the folder is called third-party, search for subfolders instead
*/
router.get('/api/extensions/discover', jsonParser, function (_, response) {
router.get('/discover', jsonParser, function (_, response) {
// get all folders in the extensions folder, except third-party
const extensions = fs
.readdirSync(DIRECTORIES.extensions)