UNPKG

ipx-s3-middleware

Version:

A simple middleware for IPX which translates given path to full S3 url.

4 lines (3 loc) 229 B
import { NextFunction, Request, Response } from 'express'; import { IPX } from 'ipx'; export declare const createIPXS3Middleware: (ipx: IPX, baseUrl: string) => (req: Request, res: Response, next: NextFunction) => Promise<void>;