Skip to content

Commit

Permalink
Merge pull request #2505 from Tyriar/lgtm_line
Browse files Browse the repository at this point in the history
Fix lgtm suppression comment line
  • Loading branch information
Tyriar authored Oct 25, 2019
2 parents c1a0b26 + f8fa962 commit 4bd721c
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions demo/server.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,20 +14,20 @@ function startServer() {
logs = {};

app.use('/xterm.css', express.static(__dirname + '/../css/xterm.css'));
app.get('/logo.png', (req, res) => {
res.sendFile(__dirname + '/logo.png'); // lgtm [js/missing-rate-limiting]
app.get('/logo.png', (req, res) => { // lgtm [js/missing-rate-limiting]
res.sendFile(__dirname + '/logo.png');
});

app.get('/', (req, res) => {
res.sendFile(__dirname + '/index.html'); // lgtm [js/missing-rate-limiting]
app.get('/', (req, res) => { // lgtm [js/missing-rate-limiting]
res.sendFile(__dirname + '/index.html');
});

app.get('/test', (req, res) => {
res.sendFile(__dirname + '/test.html'); // lgtm [js/missing-rate-limiting]
app.get('/test', (req, res) => { // lgtm [js/missing-rate-limiting]
res.sendFile(__dirname + '/test.html');
});

app.get('/style.css', (req, res) => {
res.sendFile(__dirname + '/style.css'); // lgtm [js/missing-rate-limiting]
app.get('/style.css', (req, res) => { // lgtm [js/missing-rate-limiting]
res.sendFile(__dirname + '/style.css');
});

app.use('/dist', express.static(__dirname + '/dist'));
Expand Down

0 comments on commit 4bd721c

Please sign in to comment.