aboutsummaryrefslogtreecommitdiffstats
path: root/src/index.ts
diff options
context:
space:
mode:
authorMatt Strapp <matt@mattstrapp.net>2022-02-14 20:44:14 -0600
committerMatt Strapp <matt@mattstrapp.net>2022-02-14 20:44:14 -0600
commitfb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b (patch)
tree171f0df8c959d7faeaef7b9bfd6878a997cc81a2 /src/index.ts
parentReorder middleware for "security" (diff)
downloadee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.tar
ee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.tar.gz
ee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.tar.bz2
ee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.tar.lz
ee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.tar.xz
ee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.tar.zst
ee4511w-web-fb66bbca33e6d7c1eacc38599c3eb7d35d9e0b1b.zip
organize imports
Signed-off-by: Matt Strapp <matt@mattstrapp.net>
Diffstat (limited to 'src/index.ts')
-rw-r--r--src/index.ts9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/index.ts b/src/index.ts
index 385aecc..63c803c 100644
--- a/src/index.ts
+++ b/src/index.ts
@@ -1,11 +1,10 @@
+import cookieParser from 'cookie-parser';
+import csurf from 'csurf';
import express, { Request, Response } from 'express';
-
+import rateLimit from 'express-rate-limit';
+import helmet from 'helmet';
import path from 'path';
import { env } from 'process';
-import helmet from 'helmet';
-import csurf from 'csurf';
-import cookieParser from 'cookie-parser';
-import rateLimit from 'express-rate-limit';
import api from './routes/api';
const app = express();