[ci] format
This commit is contained in:
parent
67ccec9e16
commit
74c135ef9d
3 changed files with 3 additions and 3 deletions
|
@ -2,8 +2,8 @@ import fs from 'fs';
|
|||
import http from 'http';
|
||||
import https from 'https';
|
||||
import send from 'send';
|
||||
import { fileURLToPath } from 'url';
|
||||
import enableDestroy from 'server-destroy';
|
||||
import { fileURLToPath } from 'url';
|
||||
|
||||
interface CreateServerOptions {
|
||||
client: URL;
|
||||
|
|
|
@ -13,7 +13,7 @@ export function createExports(manifest: SSRManifest, options: Options) {
|
|||
const app = new NodeApp(manifest);
|
||||
return {
|
||||
handler: middleware(app, options.mode),
|
||||
startServer: () => startServer(app, options)
|
||||
startServer: () => startServer(app, options),
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
@ -61,6 +61,6 @@ export default function startServer(app: NodeApp, options: Options) {
|
|||
|
||||
return {
|
||||
server,
|
||||
done: server.closed()
|
||||
done: server.closed(),
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue