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

not found handler #34

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

not found handler #34

wants to merge 5 commits into from

Conversation

shakyShane
Copy link
Contributor

Very basic for now, but doesn't interfere with the proxy.

The following will try to load a path from examples/basic/public, then from https://browsersync.io - if both give a 404, the 404 from the proxy will show

servers:
  - bind_address: 0.0.0.0:3000
    routes:
      - path: /
        dir: examples/basic/public
      - path: /
        proxy: https://browsersync.io

In this example though, the Browsersync UI will show for a 404

servers:
  - bind_address: 0.0.0.0:3000
    routes:
      - path: /
        dir: examples/basic/public

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant