From a59152bb56d9150840fbbc03dae066b569821fdb Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Fri, 1 Oct 2021 15:40:50 +0200 Subject: [PATCH] eth.link api --- packages/ipfs-api/src/server.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/ipfs-api/src/server.ts b/packages/ipfs-api/src/server.ts index aec3e9c7..ef21de6d 100644 --- a/packages/ipfs-api/src/server.ts +++ b/packages/ipfs-api/src/server.ts @@ -1,10 +1,10 @@ import cors from "cors"; -import express, { Request, response, Response } from "express"; +import express, { Request, Response } from "express"; import fs from "fs"; import got from "got"; import { extension as toExtension } from "mime-types"; import { Collection } from "mongodb"; -import { API_HOSTNAME, API_PORT, MONGO_CONNECTIONSTRING, MONGO_DBNAME, UPLOAD_PATH, IPFS_INTERNAL_API } from "./consts"; +import { API_HOSTNAME, API_PORT, MONGO_CONNECTIONSTRING, MONGO_DBNAME, UPLOAD_PATH } from "./consts"; import { MongoDB } from "./mongodb"; import { IRecord } from "./types"; import { contentType, download, extractArchive, isDirectory, uploadDirectory, uploadFile } from "./utils";