Skip to content

Fix/en access denied#15

Merged
GSiesto merged 2 commits into
mainfrom
fix/en-access-denied
Jun 3, 2026
Merged

Fix/en access denied#15
GSiesto merged 2 commits into
mainfrom
fix/en-access-denied

Conversation

@GSiesto

@GSiesto GSiesto commented Jun 3, 2026

Copy link
Copy Markdown
Owner

Description

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

  • Test A
  • Test B

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

GSiesto added 2 commits June 3, 2026 13:46
Next.js was exporting pages as flat files (e.g. en.html) while the
CloudFront function pdflince-fix-routes expected en/index.html.
Adding trailingSlash: true makes the build output consistent with
the CloudFront routing function, fixing AccessDenied errors on all
locale root paths (/en/, /de/, /fr/, etc.)
- Add dynamicParams = false to all [operation] pages (es, en, de, fr, it, pt, ro)
  so unknown slugs return a clean 404 instead of a dev runtime error.
- Revert operation-handlers.tsx to clean state (dynamicParams must be
  declared directly in each page file, not re-exported from a helper).
@GSiesto GSiesto merged commit f6e9cfa into main Jun 3, 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