|
|
@@ -224,12 +224,6 @@ module.exports = function(crowi, app) {
|
|
|
|
|
|
actions.search = {};
|
|
|
actions.search.index = function(req, res) {
|
|
|
- const { searchService } = crowi;
|
|
|
- if (!searchService.isConfigured) {
|
|
|
- logger.warn('SearchService has not configured');
|
|
|
- return res.redirect('/admin');
|
|
|
- }
|
|
|
-
|
|
|
return res.render('admin/search', {});
|
|
|
};
|
|
|
|