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

Redirect to / if a given path doesn't exist #32

Open
sohkai opened this issue Nov 18, 2019 · 0 comments
Open

Redirect to / if a given path doesn't exist #32

sohkai opened this issue Nov 18, 2019 · 0 comments

Comments

@sohkai
Copy link
Contributor

sohkai commented Nov 18, 2019

apm-serve currently tries to fetch content provided in a package.

For example, aragon.mainnet.aragonpm.com/manifest.json fetches the deployment manifest.json, but aragon.mainnet.aragonpm.com/organization may be a common typo and should at least redirect to the index.

Given that apm-serve is only serving as a gateway to frontends deployed on aragonPM, redirecting to / (to get the index.html, if one exists) is akin to what would need to happen with SPA-based routers anyway.

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

No branches or pull requests

1 participant