open-next icon indicating copy to clipboard operation
open-next copied to clipboard

chore: add e2e for forbidden and unauthorized

Open sommeeeer opened this issue 1 year ago • 2 comments

  • Add e2e test for forbidden and unauthorized (Next.js blog)
  • Next will set cache-control to s-maxage=31536000 on those routes, so i added 403 and 401 in fixHeadersForError() so they don't get cached

sommeeeer avatar Dec 11 '24 14:12 sommeeeer

⚠️ No Changeset found

Latest commit: ae48e5c2cec00bbc78e97a98a30542c837ffe440

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

changeset-bot[bot] avatar Dec 11 '24 14:12 changeset-bot[bot]

Open in Stackblitz

pnpm add https://pkg.pr.new/@opennextjs/aws@669

commit: ae48e5c

pkg-pr-new[bot] avatar Dec 11 '24 14:12 pkg-pr-new[bot]