Skip to content

Commit 943c1ca

Browse files
committed
format
1 parent 2b4469d commit 943c1ca

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

packages/adapter-node/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,20 +62,20 @@ import polka from 'polka';
6262

6363
const app = polka();
6464

65-
const myMiddleware = function(req, res, next) {
66-
console.log('Hello world!');
67-
next();
65+
const myMiddleware = function (req, res, next) {
66+
console.log('Hello world!');
67+
next();
6868
};
6969

7070
app.use(myMiddleware);
7171

7272
app.get('/no-svelte', (req, res) => {
73-
res.end('This is not Svelte!')
73+
res.end('This is not Svelte!');
7474
});
7575

7676
app.use(assetsMiddleware, prerenderedMiddleware, kitMiddleware);
7777

78-
app.listen(3000)
78+
app.listen(3000);
7979
```
8080

8181
For using middleware in dev mode, [see the FAQ](https://kit.svelte.dev/faq#how-do-i-use-x-with-sveltekit-how-do-i-use-middleware).

packages/adapter-node/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { Adapter } from '@sveltejs/kit';
22
import { BuildOptions } from 'esbuild';
33

44
interface AdapterOptions {
5-
entryPoint?: string,
5+
entryPoint?: string;
66
out?: string;
77
precompress?: boolean;
88
env?: {

0 commit comments

Comments
 (0)