mirror of
https://gitlab.com/timvisee/send.git
synced 2025-12-06 14:10:53 +03:00
Update eslint & plugins
Also replace eslint-plugin-node with the maintained eslint-plugin-n
This commit is contained in:
@@ -120,7 +120,7 @@ module.exports = function(app) {
|
||||
);
|
||||
app.post(`/api/info/:id${ID_REGEX}`, auth.owner, require('./info'));
|
||||
app.get('/__version__', function(req, res) {
|
||||
// eslint-disable-next-line node/no-missing-require
|
||||
// eslint-disable-next-line n/no-missing-require
|
||||
res.sendFile(require.resolve('../../dist/version.json'));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user