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

Force FE redirect to base domain 404 on InstanceNotFoundError #7482

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cysjonathan
Copy link
Contributor

  • ensure backend responds with 404 json instead of rails html page
  • handle instance not found error on FE

- ensure backend responds with 404 json instead of rails html page
- handle instance not found error on FE
@@ -6,7 +6,16 @@ module ApplicationControllerMultitenancyConcern
included do
set_current_tenant_through_filter
before_action :deduce_and_set_current_tenant

Copy link

Choose a reason for hiding this comment

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

[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected.

@cysjonathan cysjonathan marked this pull request as draft September 8, 2024 11:39
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