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

(docs) add explanation for fallback page #1200

Merged
merged 4 commits into from
Jan 23, 2025

Conversation

jtwaleson
Copy link
Contributor

Added some (hopefully) useful documentation for disabling the fallback page. As of version 0.14.0 the static handler does not take priority over the fallback handler, so the static handler is useless if the fallback is enabled. This relates to issue #1175

Please treat this PR as a suggestion and do with it what you will :)

@@ -151,6 +151,8 @@ Now, run the Loco server again and you should see frontend app serving via Loco
$ cargo loco start
```

If you see the default fallback page, you have to disable the fallback middleware.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's not clear enough, I miss the reason.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, updated.

@kaplanelad kaplanelad merged commit a5421fa into loco-rs:master Jan 23, 2025
8 checks passed
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.

2 participants