Essentially, I believe what I want is a mount path such that when the user clicks the URL
localhost:8080/items/set.html?item_type=set&id=1 fetches the resource.
Will it function if I:
app.use(express.static("client", { extensions: ["html"] }));
async function get_item(req,res) {
const t = req.query.type;
const id = req.query.id;
res.json(db.db_fetch_item(t,id))
}
app.use('/items/set.html', get_item())
Will this pathing work?