Skip to content
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

Add options to support SPAs in StaticFiles #2591

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on May 8, 2024

  1. Add options to support SPAs in StaticFiles

    There are two changes, the first is to support loading files from
    packages that might not be present at instantiation and are built
    asynchronously from webpack or the like. This is already supported for
    the directory option but it works with packages as well. The second is
    the fallback_file option which is used in client side routing. These
    tools expect that any path that doesn't resolve to a file in the build
    directory will return the main SPA file (typically index.html).
    estheruary committed May 8, 2024
    Configuration menu
    Copy the full SHA
    764a00d View commit details
    Browse the repository at this point in the history