summary refs log tree commit diff
path: root/api/src/middlewares/TestClient.ts
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2022-07-31 13:27:15 +0200
committerTheArcaneBrony <myrainbowdash949@gmail.com>2022-07-31 15:01:19 +0200
commit6e9bd98711f488dd06d2ce93027f8d9ea4cd3ad5 (patch)
tree8a37ed24e9181b6f464974a884a6087d306137ec /api/src/middlewares/TestClient.ts
parentAdd local disk caching for fetched assets (diff)
downloadserver-6e9bd98711f488dd06d2ce93027f8d9ea4cd3ad5.tar.xz
Make requested changes (pr792)
Diffstat (limited to 'api/src/middlewares/TestClient.ts')
-rw-r--r--api/src/middlewares/TestClient.ts1
1 files changed, 0 insertions, 1 deletions
diff --git a/api/src/middlewares/TestClient.ts b/api/src/middlewares/TestClient.ts
index e52a5e59..7292868c 100644
--- a/api/src/middlewares/TestClient.ts
+++ b/api/src/middlewares/TestClient.ts
@@ -27,7 +27,6 @@ export default function TestClient(app: Application) {
 		newAssetCache = new Map<string, AssetCacheItem>(Object.entries(JSON.parse(rawdata.toString())));
 	}
 
-	//define routes
 	app.use("/assets", express.static(path.join(__dirname, "..", "..", "assets")));	
 	app.get("/assets/:file", async (req: Request, res: Response) => {
 		delete req.headers.host;