"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createImageRoutes = void 0;
const express_1 = require("express");
/**
 * Public image routes mounted at `/images`.
 *
 * Routes:
 *  - GET /images/:type/:filename Serve a stored image (network or token thumbnail).
 *                                 type: 'networks' | 'tokens'
 *                                 filename: {uuid}.{ext}
 */
const createImageRoutes = (controller) => {
    const router = (0, express_1.Router)();
    router.get('/:type/:filename', controller.getImage);
    return router;
};
exports.createImageRoutes = createImageRoutes;
//# sourceMappingURL=image.routes.js.map