Skip to content
Snippets Groups Projects
index.js 335 B
var express = require("express");
const Order = require("../app/Order.js");
var router = express.Router();

/* GET home page. */
router.get("/", function (req, res, next) {
  res.render("index", {
    title: "Express",
    price_for_100: Order.PRICE_FOR_100,
    price_for_250: Order.PRICE_FOR_250,
  });
});

module.exports = router;