You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Single page applications do client side routing, but the application only have a singe page doing all the work. I'm proposing to add a flag to make this possible by serving the default page index.html for all 404 Not Found requests. Flag: --single-page-app (debatable)
I would also propose another option to only serve the content from a single package at the root of this server. This is useful for serving control interface applications for a specific system. Flag: --single-pkg=mypackage (debatable)
My use case is that I have a single page application that I am using as the control interface for my robot application that I would like to bundle and serve with the rest of my control software. I do not need to serve files from more than this single package.
I'm opening this issue to discuss if these are wanted functionality and if so, the API. I'm willing to submit a PR if you are interested.
The text was updated successfully, but these errors were encountered:
I do agree. I opened this issue to check the interest, in particular from the maintainer. There is no point in submitting a PR if the maintainer is non-responsive, the PR will never get merged. If I get time to clean up my fork I will consider publishing it for use by others.
Single page applications do client side routing, but the application only have a singe page doing all the work. I'm proposing to add a flag to make this possible by serving the default page index.html for all 404 Not Found requests. Flag: --single-page-app (debatable)
I would also propose another option to only serve the content from a single package at the root of this server. This is useful for serving control interface applications for a specific system. Flag: --single-pkg=mypackage (debatable)
My use case is that I have a single page application that I am using as the control interface for my robot application that I would like to bundle and serve with the rest of my control software. I do not need to serve files from more than this single package.
I'm opening this issue to discuss if these are wanted functionality and if so, the API. I'm willing to submit a PR if you are interested.
The text was updated successfully, but these errors were encountered: