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

handle base URL with or without trailing slash in non-root context #212

Merged
merged 1 commit into from
Dec 13, 2024

Conversation

djcooke
Copy link
Contributor

@djcooke djcooke commented Dec 13, 2024

Jira ticket: n/a

  • Commit message includes ticket number (n/a)
  • Relevant documentation updated (or n/a)
  • Relevant tests added/updated (or n/a)

The controller doesn't need a mapping because the one mapped method within has its own GetMapping annotation. The default mapping value is "", which handles the root path both with and without a slash.

@djcooke djcooke merged commit b08b021 into master Dec 13, 2024
4 checks passed
@djcooke djcooke deleted the basePathNoSlash branch December 16, 2024 18:32
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.

3 participants