13 lines
490 B
JavaScript
13 lines
490 B
JavaScript
|
"use strict";
|
||
|
var __importDefault = (this && this.__importDefault) || function (mod) {
|
||
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
||
|
};
|
||
|
Object.defineProperty(exports, "__esModule", { value: true });
|
||
|
exports.bannerRouter = void 0;
|
||
|
const express_1 = require("express");
|
||
|
const data_json_1 = __importDefault(require("./data.json"));
|
||
|
exports.bannerRouter = (0, express_1.Router)();
|
||
|
exports.bannerRouter.get('/banner-data', (req, res) => {
|
||
|
res.send(data_json_1.default);
|
||
|
});
|