New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation missing for setting up SPA with inert #3829

Closed
ohcibi opened this Issue Oct 7, 2018 · 1 comment

Comments

Projects
None yet
2 participants
@ohcibi

ohcibi commented Oct 7, 2018

The documentation about serving static files should cover how to setup an SPA that uses real paths for it's routes. The documentation should cover, how to:

  1. Set up hapi to serve all static assets of the spa (living in e.g. a directory /assets)
  2. Set up hapi to serve the spa's index.html for any request to a path that does not map to an existent asset
@hueniverse

This comment has been minimized.

Show comment
Hide comment
@hueniverse

hueniverse Oct 7, 2018

Member

That's an issue for inert or hapijs.com.

Member

hueniverse commented Oct 7, 2018

That's an issue for inert or hapijs.com.

@hueniverse hueniverse closed this Oct 7, 2018

@hueniverse hueniverse self-assigned this Oct 7, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment