-
Notifications
You must be signed in to change notification settings - Fork 261
Open
Description
I couldn't seem to find a way to implement this and it doesn't seem like there are any examples online: at the moment frontend routers such as React Router aren't compatible with Plumber as there doesn't seem to be a way to create a wildcard/fallback route they require. Usually with other api building frameworks, such as Node.js Express, I usually have a route at the end of my other routes as such:
app.use("/", (req, res) => {
res.sendFile(path.resolve("./static", "index.html"));
});Would be essential to support a fallback/wildcard route to ensure frontend router compatibility.
...
(If this is already implemented or can be implemented programmatically, could you please provide an example?)
Metadata
Metadata
Assignees
Labels
No labels