"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getFileURL = void 0;
const aws_1 = require("../../services/aws");
const getFileURL = async (req, res, next) => {
    const filename = req.params.filename;
    const url = await (0, aws_1.getURL)(filename);
    res.status(200).json({ url });
};
exports.getFileURL = getFileURL;
