diff options
Diffstat (limited to 'routes/opensearch.js')
-rw-r--r-- | routes/opensearch.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/routes/opensearch.js b/routes/opensearch.js deleted file mode 100644 index c3e2e57..0000000 --- a/routes/opensearch.js +++ /dev/null @@ -1,12 +0,0 @@ -'use strict' - -const express = require('express') -const router = express.Router() -const path = require('path') - -router.get('/', function (req, res, next) { - res.setHeader('content-type', 'application/opensearchdescription+xml') - res.sendFile('opensearch.xml', { root: path.join(__dirname, '../public') }) -}) - -module.exports = router |