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 support for optional layers on dirs->proxy fallback #23

Open
shakyShane opened this issue Sep 8, 2024 · 0 comments
Open

add support for optional layers on dirs->proxy fallback #23

shakyShane opened this issue Sep 8, 2024 · 0 comments
Labels

Comments

@shakyShane
Copy link
Contributor

In this example, if a request for / is not found on disk in examples/kitchen-sink, then the request is forwarded to the proxy.

At that point, the options for the route are lost, this doesn't work as you'd expect it to

servers:
  - bind_address: 0.0.0.0:3000
    routes:
      - path: /
        dir: examples/kitchen-sink
      - path: /
        proxy: https://browsersync.io
        delay:
          ms: 2000 # This won't take effect
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant