main
km0 2 years ago
parent 9980fa288b
commit 880320d9b8

@ -16,6 +16,9 @@ const routes = (app) => {
app.get("/destination", (req, res) => {
res.sendFile("destination.html", { root: __dirname });
});
app.get("/*", (req, res) => {
res.sendFile(req.url, { root: "public" });
});
return app;
};

Loading…
Cancel
Save