mirror of
https://github.com/MathMan05/Fermi.git
synced 2026-10-15 22:00:24 +00:00
remove the compression dep
This commit is contained in:
@@ -13,7 +13,6 @@
|
||||
"license": "GPL-3.0",
|
||||
"dependencies": {
|
||||
"@swc/core": "1.11.24",
|
||||
"compression": "^1.8.0",
|
||||
"express": "^4.21.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
import compression from "compression";
|
||||
import express, {Request, Response} from "express";
|
||||
import fs from "node:fs/promises";
|
||||
import path from "node:path";
|
||||
@@ -106,8 +105,6 @@ for (const instance of instances) {
|
||||
instanceNames.set(instance.name, instance);
|
||||
}
|
||||
|
||||
app.use(compression());
|
||||
|
||||
async function updateInstances(): Promise<void> {
|
||||
try {
|
||||
const response = await fetch(
|
||||
|
||||
Reference in New Issue
Block a user