mirror of
https://github.com/withastro/astro.git
synced 2025-03-24 23:21:57 -05:00
[ci] format
This commit is contained in:
parent
cdb7bfa662
commit
51c4c82e46
2 changed files with 2 additions and 2 deletions
|
@ -1187,7 +1187,7 @@ test.describe('View Transitions', () => {
|
|||
|
||||
expect(requests).toHaveLength(0);
|
||||
});
|
||||
|
||||
|
||||
test('view transition should also work with 404 page', async ({ page, astro }) => {
|
||||
const loads = [];
|
||||
page.addListener('load', (p) => {
|
||||
|
|
|
@ -372,7 +372,7 @@ export async function handleRoute({
|
|||
if (status && response.status !== status && (status === 404 || status === 500)) {
|
||||
response = new Response(response.body, {
|
||||
status: status,
|
||||
headers: response.headers
|
||||
headers: response.headers,
|
||||
});
|
||||
}
|
||||
await writeSSRResult(request, response, incomingResponse);
|
||||
|
|
Loading…
Add table
Reference in a new issue