Skip to content

Fix PDF ticket download 404 caused by locale middleware#12

Merged
barakadanny merged 1 commit into
developfrom
bugfix/skip-locale-prefix-for-api-routes
Jun 20, 2026
Merged

Fix PDF ticket download 404 caused by locale middleware#12
barakadanny merged 1 commit into
developfrom
bugfix/skip-locale-prefix-for-api-routes

Conversation

@barakadanny

Copy link
Copy Markdown
Member

Description

Skip next-intl locale prefixing for /api/ routes so the ticket PDF endpoint is reachable without being redirected to /en/api/....

Type of change

  • Chore (maintenance work, dependency updates)
  • Refactor (restructuring existing implementation, no behavior change)
  • New feature (adds functionality)
  • Bug fix (fixes an issue)
  • Add tests (test-related changes only)

Related issues

Fix #

Breaking changes

  • This PR introduces a breaking change

If checked, describe what breaks and how consumers should migrate.

Development

  • Lint rules pass locally
  • Application changes have been tested thoroughly
  • Automated tests covering modified code pass

Security

  • Security impact of change has been considered
  • Code follows the platform security practices and guidelines

Screenshots (if applicable)

Attach screenshots or screen recordings for any UI changes. Write N/A if not applicable.

@barakadanny
barakadanny merged commit 0ed9ba1 into develop Jun 20, 2026
2 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.

1 participant