Skip to content

Commit 4bf3c74

Browse files
committed
Add dark mode and update logs
1 parent 2ba3b45 commit 4bf3c74

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/bin.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ if (process.env['NODE_ENV'] !== 'production') {
120120

121121
app.listen(port, () => {
122122
console.log(`Started on :${port}`)
123-
console.log(`Watching ${file}...`)
123+
console.log(`http://localhost:${port}/`)
124124
console.log(routes(db).join('\n'))
125+
console.log(`Watching ${file}...`)
125126
})

views/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<link href="/output.css" rel="stylesheet" />
88
</head>
99

10-
<body class="container mx-auto prose pt-6 bg-white text-gray-900">
10+
<body class="container mx-auto prose dark:prose-invert dark:bg-slate-900 pt-6 bg-white text-slate-900">
1111
<header>
1212
<nav class="mx-auto flex items-center justify-between">
1313
<strong>JSON Server {:.:}</strong>

0 commit comments

Comments
 (0)