mirror of
https://github.com/mthenw/frontail.git
synced 2026-04-26 02:05:57 +03:00
[GH-ISSUE #147] Possible to mount in an existing Express app? #102
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/frontail#102
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @marclar on GitHub (Oct 29, 2018).
Original GitHub issue: https://github.com/mthenw/frontail/issues/147
I was thinking of including this in my project but mounting it as middleware, e.g.
Can frontail be used in this way?
@mthenw commented on GitHub (Oct 29, 2018):
Hey, it's not possible with the current architecture. One option that could help could be just running express js server and piping output to frontail:
node server.js | frontail -@marclar commented on GitHub (Oct 29, 2018):
Thanks for the response, @mthenw. I was also thinking of starting frontail using
child_process.execFileand then proxying requests from a route on my primary app to the frontail server/port.