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

Implement not found page for TicketStore.Web microservice #124

Open
framebassman opened this issue Oct 10, 2019 · 0 comments
Open

Implement not found page for TicketStore.Web microservice #124

framebassman opened this issue Oct 10, 2019 · 0 comments

Comments

@framebassman
Copy link
Owner

framebassman commented Oct 10, 2019

Explanation:
We have TicketStore.Web microservice and the following routes:

          <Route path="/tickets/farewell" component={Farewell}/>
          <Redirect from="/tickets/turnstile" to="/turnstile/camera" />
          <Route path="/turnstile" component={TurnstileMenu} />
          <Route path="" component={AfishaWithMenu}/>

Please pay attention for the following things:

  • There is path with "" (empty string)
  • There is no routes with exact flag

What it means: any path which doesn't match with /tickets/farewell, /tickets/turnstile and /turnstile - will match with "" (empty string)
So, it means that https://chertopolokh.ru/adwadawdawd will be matched to https://chertopolokh.ru

Problem:
We have kabinet microservice which fails sometimes. kabinet has healthcheck route https://chertopolokh.ru/kabinet/api/health and it should response with 200 status code
And when kabinet fails - healthcheck route matches to "" (empty string) route - and I have no any notifications about fails)

@framebassman framebassman changed the title Implement NotFound page for TicketStore.Web microservice Implement not found page for TicketStore.Web microservice Oct 10, 2019
@framebassman framebassman moved this to Backlog in Chertopolokh May 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

1 participant