"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CloudFront = void 0;
const CloudFront = (options) => {
    return (req, res, next) => {
        res.setHeader('Cache-Control', `public, max-age=${options.expireSec}, s-maxage=${options.expireSec}`);
        next();
    };
};
exports.CloudFront = CloudFront;
//# sourceMappingURL=cloudfront.js.map