Files
JJ KasperandGitHub 51f9f5df2b Apply filtering after rewrite as well (#46390
x-ref: [slack
thread](https://vercel.slack.com/archives/C04MEB9L9RQ/p1677279320253929?thread_ts=1677255545.574209&cid=C04MEB9L9RQ)

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have a helpful link attached, see
[`contributing.md`](https://github.com/vercel/next.js/blob/canary/contributing.md)
2023-02-24 15:57:30 -08:00

12 lines
235 B
JavaScript

import { headers } from 'next/headers'
export default function SSRPage() {
const headersObj = Object.fromEntries(headers())
return (
<>
<p>app-dir</p>
<p id="headers">{JSON.stringify(headersObj)}</p>
</>
)
}