|
|
|
@ -11,13 +11,11 @@ const PUBLIC = process.env.PUBLIC || "";
|
|
|
|
|
const router = express.Router();
|
|
|
|
|
const routes = (app) => {
|
|
|
|
|
app.get("/", (req, res) => {
|
|
|
|
|
// res.sendFile("index.html", { root: __dirname });
|
|
|
|
|
res.render("index", {
|
|
|
|
|
address: PREFIX,
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
app.get("/destination", (req, res) => {
|
|
|
|
|
// res.sendFile("destination.html", { root: __dirname });
|
|
|
|
|
res.render("destination", {
|
|
|
|
|
address: PREFIX,
|
|
|
|
|
});
|
|
|
|
|