mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 08:26:16 -04:00
lint: Close function args on same line as final arg
This commit is contained in:
parent
37508403d8
commit
daee90d2af
7 changed files with 10 additions and 25 deletions
|
@ -30,14 +30,8 @@ exports.expressPreSession = async (hookName, {app}) => {
|
|||
});
|
||||
|
||||
app.get('/robots.txt', (req, res) => {
|
||||
let filePath = path.join(
|
||||
settings.root,
|
||||
'src',
|
||||
'static',
|
||||
'skins',
|
||||
settings.skinName,
|
||||
'robots.txt',
|
||||
);
|
||||
let filePath =
|
||||
path.join(settings.root, 'src', 'static', 'skins', settings.skinName, 'robots.txt');
|
||||
res.sendFile(filePath, (err) => {
|
||||
// there is no custom robots.txt, send the default robots.txt which dissallows all
|
||||
if (err) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue