Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
ascorbic authored and astrobot-houston committed Oct 7, 2024
1 parent 9db755a commit b28bd74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/astro/src/core/app/node.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import fs from 'node:fs';
import type { IncomingMessage, ServerResponse } from 'node:http';
import { Http2ServerResponse } from 'node:http2';
import type { RouteData } from '../../@types/astro.js';
import { deserializeManifest } from './common.js';
import { createOutgoingHttpHeaders } from './createOutgoingHttpHeaders.js';
import { App } from './index.js';
import type { RenderOptions } from './index.js';
import type { SSRManifest, SerializedSSRManifest } from './types.js';
import { Http2ServerResponse } from 'node:http2';

export { apply as applyPolyfills } from '../polyfill.js';

Expand Down
2 changes: 1 addition & 1 deletion packages/astro/src/vite-plugin-astro-server/response.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export async function writeWebResponse(res: http.ServerResponse, webResponse: Re
_headers['set-cookie'] = headers.getSetCookie();
}
// HTTP/2 doesn't support statusMessage
if(!(res instanceof Http2ServerResponse)) {
if (!(res instanceof Http2ServerResponse)) {
res.statusMessage = statusText;
}
res.writeHead(status, _headers);
Expand Down

0 comments on commit b28bd74

Please sign in to comment.