Skip to content

Commit a921f60

Browse files
committed
fix curl regex
1 parent bd88702 commit a921f60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const { getLiveUpdates } = require('./lib/reddit.js');
88

99
const app = express();
1010
const port = process.env.PORT || 3001;
11-
const IS_CURL_RE = /\bcurl\b/gim;
11+
const IS_CURL_RE = /\bcurl\b/im;
1212

1313
function errorHandler(error, res) {
1414
console.error(error);

0 commit comments

Comments
 (0)