mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
9 lines
187 B
TypeScript
9 lines
187 B
TypeScript
import express from 'express';
|
|
import rateLimiter from './rateLimit';
|
|
|
|
const app = express();
|
|
app.use(rateLimiter);
|
|
app.get('/', (req, res) => {
|
|
res.sendFile('index.html'); // OK
|
|
});
|